On 5/6/05, macromedia wrote: > > I just tried it but get this error. What does it mean/ > > > perl test.pl > Global symbol "line" requires explicit package name at test.pl line 18. > Variable "$line" is not imported at test.pl line 19. > Global symbol "line" requires explicit package name at test.pl line 19. > Execution of test.pl aborted due to compilation errors. >
It means you did something wrong :-) The code I sent you doesn't have 19 lines, nor is there any problem with it on my machine - just tried it and the only problem is that I should have used single quotes instead of double quotes in the path arg to the "find" call, i.e.: 'D:\mywork'. instead of "D:\mywork". Did you perhaps change the code I emailed? Could the problem be that you are using a very old perl? Please paste the output of running "perl -V" from the command line. Also please paste the exact contents of test.pl. Regards, -- Offer Kaye -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>