Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Printing POD info to terminal window without exiting

by davido (Cardinal)
on Aug 05, 2021 at 15:04 UTC ( [id://11135619]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    ...
    print "calling pod2usage with -exitval => 'NOEXIT'\n";
    pod2usage(-exitval => 'NOEXIT');
    print "We are still here after using -exitval => 'NOEXIT'.\n";
    
  2. or download this
    Calling pod2usage(1)
    EXIT_OVERRIDE
    We are still here after overriding exit.
    calling pod2usage with -exitval => 'NOEXIT'
    We are still here after using -exitval => 'NOEXIT'.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11135619]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-25 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found