I've been using strict but the interpreter hadn't spit any messages out! I think you guys pretty much clarified my situation, thanks so much for the help you guys have provided!my $spooler = `lpstat -r`; chomp($spooler); if ( $spooler eq "scheduler is not running" ) { system("lpsched"); }
In reply to Re^2: Backticks and Pattern Matching.
by misconfiguration
in thread Backticks and Pattern Matching.
by misconfiguration
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |