[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 $!;

AARGH!

$people{'Kevin Reid'}{stupid} = 1;

I had forgotten about that function.

-- 
  Kevin Reid.      |         Macintosh.
   "I'm me."       |      Think different.

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