in reply to Writing a CSV Parser/Printer
Text::CSV is actually a pure text module. The only reason you can't install it in your local directory and use it is because it uses Autoloader to reduce its memory footprint.
Rather than write your own replacement, you only need change 3 lines in the source of Text::CSV and you can use it, which would save some work and some testing.
The three changes are:
# use AutoLoader qw(AUTOLOAD);
__END__
1;
With those changes the module takes a split second or two longer to load and uses a tad more memory, but works fine.
Hope that helps.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Writing a CSV Parser/Printer
by Anonymous Monk on Jun 26, 2003 at 07:51 UTC |