<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Stephen Steneker wrote:
<blockquote
cite="mid:A5C6A0CB-3144-4CBB-99E9-F9A1AA2FB32E@sydney.pm.org"
type="cite">
<blockquote type="cite">If my reading of Pod::Usage is correct, this
should work. If called with ./podme --manual it print the manual out as
expected. If called with ./podme --help it does nothing. If called with
./podme --foo then at work it does nothing, at home it produces the
correct result. Clue required please.
<br>
</blockquote>
You're missing essential details like O/S and versions of
<br>
perl / Getopt::Long / Pod::Usage. That should help explain
<br>
the difference in your work and home environments so you
<br>
can find the culprit. Your reading of expected behaviour
<br>
otherwise appears correct.
<br>
<br>
Cheers,
<br>
Stephen
<br>
<br>
</blockquote>
I was expecting ./podme --help to produce <b>the "SYNOPSIS" section,
along with any section entitled "OPTIONS", "ARGUMENTS", or "OPTIONS AND
ARGUMENTS"</b>, as per the Pod::Usage manual page. Instead it produces
nothing<br>
<br>
plm@thunk:~/work/prj/bin> ./podme --help<br>
plm@thunk:~/work/prj/bin> <br>
<br>
OS at home is OpenSuSE 10.3, perl is 5.8.8, Pod::Usage is 1.33.<br>
Don't have the details of what is at work.<br>
<br>
<pre class="moz-signature" cols="72">--
Fools ignore complexity. Pragmatists suffer it.
Some can avoid it. Geniuses remove it.
</pre>
</body>
</html>