Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Reading and writing back an updated string

by roboticus (Chancellor)
on Jun 26, 2019 at 20:35 UTC ( [id://11101992]=note: print w/replies, xml ) Need Help??


in reply to Reading and writing back an updated string

mgwump:

Perhaps you should try writing perl code instead of whatever that is.

$ perl -c tmpx.pl "my" variable $var masks earlier declaration in same statement at tmpx +.pl line 5. Global symbol "$fh" requires explicit package name (did you forget to +declare "my $fh"?) at tmpx.pl line 1. Global symbol "$fh3" requires explicit package name (did you forget to + declare "my $fh3"?) at tmpx.pl line 2. syntax error at tmpx.pl line 2, near "$fh3 for " Global symbol "$fh" requires explicit package name (did you forget to +declare "my $fh"?) at tmpx.pl line 4. Can't redeclare "my" in "my" at tmpx.pl line 6, near "my" Global symbol "$var" requires explicit package name (did you forget to + declare "my $var"?) at tmpx.pl line 6. syntax error at tmpx.pl line 7, near ") }" Global symbol "$fh" requires explicit package name (did you forget to +declare "my $fh"?) at tmpx.pl line 9. Global symbol "$fh" requires explicit package name (did you forget to +declare "my $fh"?) at tmpx.pl line 10. Unmatched right curly bracket at tmpx.pl line 10, at end of line tmpx.pl has too many errors.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-03-28 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found