[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Creating an alias?



At 15.32 -0400 1998.09.24, Kevin Reid wrote:
>How do I create an alias of a file from MacPerl (preferably not by
>telling the Finder to do it)?

Same as in Unix.  :-)

  #!perl -w
  use Mac::Files;  # just to get desktop folder
  my $df = FindFolder(kOnSystemDisk, kDesktopFolderType);

  symlink(':MacPerl', "$df:MacPerl") or die $!;

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch