Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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.


Comment on Re^2: How's your Perl? (II)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2016-02-06 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (236 votes), past polls