in reply to Re: @ISA vs. base
in thread @ISA vs. base
I'm not sure I get this. I tend to go the other way: I use every single module I can, unless it doesn't work for my scenario. The advantage is that as they add new features, functionality, and speed, I get them for free.
For example, rather than about five lines of code to copy a file, I use File::Copy and use its copy function. That way, on platforms where there is a system copy, I get that faster copy for free. Attributes are copied. All those bonus functionalities are handled for free. I only don't use File::Copy where it doesn't work - as in string refs.
I don't, offhand, know of any scenario where base doesn't work, although I'm sure tye will enlighten me ;-), so I continue to use it as a preference over all others until then.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: @ISA vs. base
by siracusa (Friar) on Jul 25, 2005 at 18:45 UTC | |
by itub (Priest) on Jul 25, 2005 at 23:57 UTC |