in reply to Re^2: if modifier of a print statement
in thread if modifier of a print statement
The /no_proc/ is a match statementoperator on $_ which yields a true/false value. If the line in $_ has "no_proc", it gets printed and that's it. If that line doesn't have "no_proc" then the 2nd "else" statement is printed...."$_..in proc".
print will return a "true value". What would "print /adsf/;" mean? I think nothing, but I've been wrong before!
Updated: changed "statement" to "operator"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: if modifier of a print statement
by jwkrahn (Abbot) on Jun 30, 2009 at 13:38 UTC | |
by Marshall (Canon) on Jun 30, 2009 at 15:58 UTC |