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

Re: [MacPerl] Need help on GetFileInfo...



At 12.57 -0400 1999.04.07, Brenda Cannon wrote:
>	@dir_list = readdir IMAGEDIRECTORY;
>
>	foreach $target_link (@dir_list) {

Are you currently in the directory specified by IMAGEDIRECTORY?  If not,
you need to either append that directory to the variable (e.g.,
"$dir:$target_link" or "$dir$target_link") or change directories to it
(e.g., chdir($dir) or die "Can't chdir to '$dir'").

--
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 macperl-request@macperl.org