changeset 113 | 30bd047cd057 |
parent 103 | 0c9f37c94f0c |
--- a/bin/zone-rm Tue May 24 09:40:39 2011 +0200 +++ b/bin/zone-rm Tue May 24 11:05:33 2011 +0200 @@ -24,7 +24,10 @@ pod2usage( -exit => 0, -verbose => 2, - -noperldoc => system("perldoc -V &>/dev/null") + # "system('perldoc -V &>/dev/null')" appears shorter, but may not + # do what you expect ( it still returns 0 on debian squeeze with + # dash as system shell even if cannot find the command in $PATH) + -noperldoc => system('perldoc -V >/dev/null 2>&1') ); }, )