Perl: the Markov chain saw | |
PerlMonks |
Re: What the [sub]in 'L value do they have?by Chmrr (Vicar) |
on Dec 15, 2002 at 08:37 UTC ( [id://219978]=note: print w/replies, xml ) | Need Help?? |
The only time I used : lvalue was in writing the following subroutine:
..which is used to set values at any depth in a recursive hash structure, like so:
In this particular case, doing data verification wasn't overly useful, but I can definately see when it might be. While I'm not convinced that using $_ "won't break any existing code," it seems to be the most perlish choice to use. perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'
In Section
Meditations
|
|