On Dec 8, 2007, at 7:06 PM, Celeste Suliin Burris <[EMAIL PROTECTED]
> wrote:
Use a symbolic link instead. Perl handles those natively, and they
can be
accessed from the command line. The Finder just treats them the same
as
aliases.
Not quite. I forget the details at the moment, but Finder aliases are
kind of like "firm links": while hardlinks point to inodes, and
softlinks point to file pathnames, aliases point to the logical file
in a more robust way than symlinks. For example, if the reverent file
moves, symlinks break, but aliases shouldn't.
If you really want aliases, I think the CPAN modules of Dan Kogai and
Chris Nandor are the place to start. I forget who wrote what, but
modules like (I think) MacOS::File and Mac::Glue can either make the
right calls directly, or leverage Applescript / OSAscript to do this
for you.
Or if symlinks/softlinks are enough, just use the traditional Perl /
Unix methods to make those.
--
Chris Devers