Welcome to the Monastery | |
PerlMonks |
Re^3: In place replace, ignoring between quotesby SuicideJunkie (Vicar) |
on Oct 25, 2013 at 19:20 UTC ( [id://1059736]=note: print w/replies, xml ) | Need Help?? |
If $var is true, then !$var is false (''). That new value is then assigned to $var Alternatively, you could say $var ^= 1 to do the same sort of thing, just with 1 and 0 instead of 1 and ''.
In Section
Seekers of Perl Wisdom
|
|