and perl integration

S

Stefano Sabatini

Hi perlers,

there is a way to integrate nicely Perl code with Pod?

I love the Pod::Usage module very much, and I would like to do
something like this:

my $program_name=foo;
my $foo= 1;

....

=head1 NAME

$program_name - Foo and bazz all the bars of the world.

=head1 SYNOPSIS

$program_name <options> <input-file>

=head1 OPTIONS

=item B<--foo|-F>

Foo value to use when fooing (default is $foo).

=back

Is this possible (I think it isn't)? Can you suggest some way to
achieve the same effect (maybe with some other module)?

Many thanks in advance.

Regards.
 
S

Stefano Sabatini

Hi perlers,

there is a way to integrate nicely Perl code with Pod?

I love the Pod::Usage module very much, and I would like to do
something like this:

my $program_name=foo;
my $foo= 1;

...

=head1 NAME

$program_name - Foo and bazz all the bars of the world.

=head1 SYNOPSIS

$program_name <options> <input-file>

=head1 OPTIONS

=item B<--foo|-F>

Foo value to use when fooing (default is $foo).

=back

Is this possible (I think it isn't)? Can you suggest some way to
achieve the same effect (maybe with some other module)?

Many thanks in advance.

Regards.

Ehm... I missed the Pod in the subject...

Regards.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top