/no_proc/ ? print "$_\n" : print "$_ : in proc\n" ;
You are using the Conditional Operator in void context.   That is usually written as:
print /no_proc/ ? "$_\n" : "$_ : in proc\n";
In reply to Re^2: if modifier of a print statement
by jwkrahn
in thread if modifier of a print statement
by si_lence
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |