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

Re^2: How's your Perl? (II)

by wog (Curate)
on Jul 22, 2004 at 19:37 UTC ( #376696=note: print w/replies, xml ) Need Help??


in reply to Re: How's your Perl? (II)
in thread How's your Perl? (II)

You don't need any switches!

BEGIN{$^P=0x22;sub DB::DB{++$foo==2 and die}}

(I am pretty sure that is not the official solution, by the way, and it means that 8 does not need to exploit actual bugs.)

updated: Oops, copied a wrong version initially. One character difference.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://376696]
help
Chatterbox?
and snow settles gently...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2016-12-09 15:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (152 votes). Check out past polls.