Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Remove from List

by psini (Deacon)
on Aug 23, 2010 at 21:32 UTC ( [id://856812]=note: print w/replies, xml ) Need Help??


in reply to Remove from List

Any thoughts? as far as I can tell the file is open... What is going on?

Check whether it is really so:

open (my $LISTDEL, '<', $ARGV[0]) || die $!;

(The same applies to the other open's, obviously)

Update:

It fails because

if (@ARGV = 2){

sets @ARGV to (2). Use ==

Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-03-28 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found