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
In reply to Re^2: using a string as a SCALAR ref while "strict refs" in use
by xorl
in thread using a string as a SCALAR ref while "strict refs" in use
by xorl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |