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

Re^2: Deletes All Records not just one

by PilotinControl (Pilgrim)
on Feb 16, 2013 at 13:21 UTC ( [id://1019037]=note: print w/replies, xml ) Need Help??


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

Thanks for all of the information and the revised code worked it did delete the entries in the file and when i opened the data.txt file here was the input:


delcarEntry=HASH(0x191920c)
delcarEntry=HASH(0x191920c)
delcarEntry=HASH(0x191920c)

Replies are listed 'Best First'.
Re^3: Deletes All Records not just one
by tobyink (Canon) on Feb 16, 2013 at 13:42 UTC

    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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1019037]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-20 01:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found