P is for Practical | |
PerlMonks |
Re: Inserting CSV Into DB w/o CSV Modulesby tachyon (Chancellor) |
on Nov 23, 2004 at 04:50 UTC ( [id://409815]=note: print w/replies, xml ) | Need Help?? |
Can someone show me a generic or other way to load CSV files in my code that doesn't need Tie::Handle::CSV; or any other CSV module? Not using a module is a bad idea. If you have shell access why not read A Guide to Installing Modules and do a local install? If you don't have shell access why not just pick a CSV module like Text::CSV which is pure perl, then just do this:
Now all you have to do is
If you don't like either of those worthy ideas then just rip the guts out of Text::CSV and stuff it in your code. cheers tachyon
In Section
Seekers of Perl Wisdom
|
|