On Mon, Nov 22, 1999 at 05:30:29PM -0500, Al Joslin wrote: > # Can't call method "ioFlCrDat" without a package or object reference. > File 'Saving Dates:Save That Date'; Line 24 > opendir FROMS, $fromFldr; > @fromFiles = readdir FROMS; readdir() returns a list of filenames without the path. You need to chdir() to the appropriate directory, or append the path to the filenames after you have read them in. > closedir FROMS; > > foreach $singleFrom (@fromFiles) > { > ($singleTo = $singleFrom) =~ s/.*:(.*)/$toFolder:$1/; > > $toCat = FSpGetCatInfo($singleTo); > $fromCat = FSpGetCatInfo($singleFrom); Since there is no path, the files cannot be found, and FSpGetCatInfo() is presumably returning undef. You should check for this error condition. Ronald # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org