Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Tweaking 'return'.

by robin (Chaplain)
on Nov 23, 2005 at 12:05 UTC ( #511061=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # This is the custom debugger:
    { package DB;
    ...
    
    $|++;   # Turn off buffering, to make the control flow clearer
    hello();
    
  2. or download this
    $ perl d.pl
    Hello, World!
    ...
    World!
    === Leaving sub main::world
    === Leaving sub main::hello
    
  3. or download this
      BEGIN {$^P = 1}
    
  4. or download this
    BEGIN {
      return if $^P;  # If the debugger is running, leave well alone
    ...
      };
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2022-10-02 18:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (12 votes). Check out past polls.

    Notices?