in reply to How to serialize Net::FTP object?
There is an easier solution for your problem, though. Put the code that uses the FTP object in a subroutine (in a module, or in the same file as the code that creates the object) and call that sub.
If that's impossible (because of the structure of the other script), you can put the object in a global and do the script.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to serialize Net::FTP object?
by redss (Monk) on Dec 06, 2004 at 21:56 UTC | |
by BUU (Prior) on Dec 07, 2004 at 07:04 UTC |