in reply to Problem with GetOptions
I think your problem stems from the fact that when the shell parses your string, it breaks on spaces (and there are spaces in your thing).
Try this:
Note the addition of quotes, which will cause the shell to not break the string up in the arglist.SLIMSERVER_LOG="'|/usr/local/bin/multilog t s1000000 n20 /var/log/slim +server'"
--Stevie-O
$"=$,,$_=q>|\p4<6 8p<M/_|<('=> .q>.<4-KI<l|2$<6%s!<qn#F<>;$, .=pack'N*',"@{[unpack'C*',$_] }"for split/</;$_=$,,y[A-Z a-z] {}cd;print lc
|
---|
In Section
Seekers of Perl Wisdom