Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Deletes All Records not just one

by tobyink (Abbot)
on Feb 16, 2013 at 13:42 UTC ( #1019039=note: print w/replies, xml ) Need Help??


in reply to Re^2: Deletes All Records not just one
in thread Deletes All Records not just one

Try:

print $out_file_handle $line_from_file, "\n";

You're currently printing out the variable $_ which isn't being defined by any of the code you posted (but is being defined somewhere else to point to an object of some kind).

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1019039]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2017-02-28 01:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (394 votes). Check out past polls.