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

Re: [MacPerl] Howto import modules ...



ziege@ito.umnw.ethz.ch wrote:

> For further facilitation of this process I wrote a small droplet which
> saves all needed modules of a script as 'TEXT' resources in a ".rsrc"-File
> when dropped on it:
....
> open(inFile, @ARGV[0]) or die "No file dropped!";
...
> $resFileName= @ARGV[0].".rsrc";

Are you sure this works al right? It looks like you're using an array
(@ARGV[0]) where you should use a scalar ($ARGV[0]). 

Doesn't your code try to open file "1" and "1.rsrc" instead?


And, if it *does* work... why?
-- 
		Bart Lateur
		Gent (Ghent, Gand),
		Belgium,
		Europe,
		3rd planet from the sun.


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