Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: replace a value in an array

by AnomalousMonk (Archbishop)
on Apr 02, 2014 at 21:58 UTC ( [id://1080843]=note: print w/replies, xml ) Need Help??


in reply to Re: replace a value in an array
in thread replace a value in an array

open (survdat, "+< /xxx ||cmn::dienice("$lang::open_file_write");
...
1. Your open statement is broken. Count the quotation marks...

That's not the only problem: parens are unbalanced, too. Maybe something like
    open (my $survdat, '+<', '/xxx') || cmn::dienice("$lang::open_file_write");
with  survdat replaced with  $survdat in the code thereafter might be closer to the mark, but hard to tell. (And I'm not sure just "$lang::open_file_write" is supposed to be.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found