As an aside, in "$print_subsystem" == "cups", you need to replace the == (numeric equality comparison) with eq (string equality).
In reply to Re: passing vars to a sub
by simonm
in thread passing vars to a sub
by tcf03
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |