Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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]
[stevieb]: debugged my first very low-level C memory issue within a shared library with gdb so I did :D
[stevieb]: problem was in my code, but through the debugger I figured out what was actually happening, and why. Pretty straight forward after a few hours of reading and testing

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-06-25 18:25 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (568 votes). Check out past polls.