Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: reading file

by bart (Canon)
on Nov 29, 2012 at 12:31 UTC ( #1006241=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    my %row;
    while(<>) {
            or next;
        $row{$key} = $value;
  2. or download this
    use Data::Dumper;
    print Dumper \%row;
  3. or download this
    # $db is the DBIx::Simple database connection handle object
    $db->insert($table, \%row);

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006241]
[marto]: under certain circumstances perhaps
[RonW]: as I understand it, RPerl "compiles" a subset of Perl to C, so I would expect the final executable to run a lot faster
[RonW]: Is there an English language version of the site?
[LanX]: but Afaik Perl is on average about 10-20 times slower than C
[LanX]: no
[LanX]: but I could ask Herbert to elaborate

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2017-05-22 20:17 GMT
Find Nodes?
    Voting Booth?