Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How do I find the particular field in a File?

by ehdonhon (Curate)
on Apr 15, 2002 at 13:30 UTC ( [id://159176]=note: print w/replies, xml ) Need Help??


in reply to How do I find the particular field in a File?

If you are experienced in using DBI, you could take a look at DBD::AnyData. As long as your data is being stored in an AnyData compatable format, you should be able to use a simple SQL command to retrieve your info:

my $dbh = DBI->connect('dbi:AnyData(RaiseError=>1):'); $dbh->func( 'STUDENTS', 'CSV', 'students.csv' ); my $sth = $dbh->prepare("SELECT degree FROM STUDENTS WHERE STUDENT = + 'george'");

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-24 02:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found