On Thu, 17 Mar 2005 12:54:23 -0600, Dave Kettmann wrote: > Here is the whole first part. Snipped part is just declaration of variables. >
Okay, here is the problem: > > use File::Remote qw(:replace); > The problem is, when you use the ":replace" tag, File::Remote imports new "open" and "close" functions into your namespace, that override the core functions. This is the reason for the error messages you get. Twisted, isn't it? To see the new "open" and "close" functions, open File/Remote.pm in your text editor, e.g.: vim `perldoc -l File::Remote` Anyway, possible solutions are: 1. Simply move the line "use File::Remote qw(:replace);" below your while loop. 2. Replace "open" with "CORE::open" and "close" with "CORE::close". 3. Use either the ":standard" tag or the OO interface, instead of the ":replace" tag. Read "perldoc File::Remote" for the details. Cheers, -- 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>