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

[MacPerl] Bug in Perl/MacPerl @ARGV droplet



Listers,

I've run into what I would consider a bug.  Let me know if this is the way
it should work.

I've created a script which recurses through the directory dropped onto the
droplet.  After trying to find the bug in my code that wouldn't allow a
full volume to work, I found the problem -- with the following code, a
dropped directory/folder will return "volume:path1:path2" (note NO ending
":" which I've been adding) but dropping a volume on the droplet retrns
"volume:" (note ending in ":")

die ("Please drop a directory on this file.\n") unless (@ARGV[0]);
$dir = @ARGV[0];
print "open dir = $dir\n";

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.

Thanks,


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Dennis Little			       mailto://dennis.j.little@lmco.com
Lockheed Martin Missiles & Space       mailto://metnet@worldnet.att.net
Sunnyvale, CA			       Web: http://www.lmms.lmco.com/
Phone: 408/756-2170		       LMMS: O/EA52 B/076 C/3E8
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



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