Lines Matching refs:message
18 Pod::Usage, pod2usage() - print a usage message from embedded pod documentation
24 my $message_text = "This text precedes the usage message.";
33 pod2usage( { -message => $message_text ,
53 A string containing the text of a message to print I<before> printing
54 the usage message
73 =item C<-message>
77 The text of a message to print immediately prior to printing the
78 program's usage message.
90 message. If the corresponding value is 0, then only the "SYNOPSIS"
99 usage message should be written. The default is C<\*STDERR> unless the
122 B<pod2usage> will print a usage message for the invoking script (using
124 desired exit status. The usage message printed may have any one of three
196 the user-requested usage message. It is also desireable to give a
204 convenient to use as an innocent looking error message handling function:
230 pod2usage(-verbose => 2, -message => "$0: Too many files given.\n")
259 Each of the following invocations of C<pod2usage()> will print a message
266 pod2usage(-message => "Syntax error.", -verbose => 0);
276 pod2usage(-message => "Syntax error.",
312 Most scripts should print some type of usage message to C<STDERR> when a
315 usage message to C<STDOUT>. Some scripts may even wish to go so far as to
346 -help brief help message
355 Print a brief help message and exits.
445 ## User passed in a message to print before issuing usage.
446 $_ and $opts{"-message"} = $_;
456 /^-msg/i and $_ = '-message';
541 my $msg = $self->{USAGE_OPTIONS}->{-message} or return 1;