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

Re: [MacPerl] Bug in Perl/MacPerl @ARGV droplet



At 19.20 -0400 1998.06.30, Dennis Little wrote:
>Am I missing something?  If this is in fact a bug, could someone check
>other versions of Perl to see if it exists there as well and notify the
>appropriate authors.

MacPerl is unfortunately inconsistent in its handling of ':'.  The safest
thing to do is to check if something is a directory and add a ':' to the
end of the name if it is not already there:

  $filename .= ':' if (-d $filename && $filename !~ /:$/);

I would also consider it a bug; though I have not tested your claims,
specfically, this does happen in some places in MacPerl.

--
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