in reply to Re: Backticks and Pattern Matching.
in thread Backticks and Pattern Matching.
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"); }
|
|---|