Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: using a string as a SCALAR ref while "strict refs" in use

by xorl (Deacon)
on Jun 19, 2012 at 11:32 UTC ( [id://977036]=note: print w/replies, xml ) Need Help??


in reply to Re: using a string as a SCALAR ref while "strict refs" in use
in thread using a string as a SCALAR ref while "strict refs" in use

It's just a tie.
use strict; use Tie::File; # skipping all sorts of fun to get to this: tie @array, 'Tie::File', "$mf_dir$filename", recsep => '}', autochomp +=> 0; $array[$user_section] =~ s/username =\> $username/username =\> $newuse +rname/; # or something like that

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-16 07:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found