Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Scratch DB

by Fox (Pilgrim)
on Sep 30, 2011 at 14:09 UTC ( [id://928815]=note: print w/replies, xml ) Need Help??


in reply to Re: Scratch DB
in thread Scratch DB

BTW, on line 21 I had to add an argument to Term::Realine's constructor to make it work here - I just passed $0. According to http://search.cpan.org/~flora/perl-5.14.2/lib/Term/ReadLine.pm the constructor takes a string.
Doh !, That doesn't happen with me ! I guess it is because, when available, Term::ReadLine uses Term::ReadLine::Gnu, and this one doesn't require the argument
if I have a csv file called xxx.csv
Uh oh, SQLite seems to interpret the dot as database.table, I guess the best option here is to strip the suffix of the file.

Thanks for the feedback, I updated the script.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://928815]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-03-29 04:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found