Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Perl allows you to change the definition of false to make it true. (And vice versa.)

by Anonymous Monk
on Dec 14, 2012 at 14:26 UTC ( #1008843=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    use 5.010;
    ...
        &Internals::SvREADONLY(\undef, 0);
        ${\undef} = "Demons are coming out of my nose!";
    };
    
  2. or download this
    BEGIN {
        &Internals::SvREADONLY(\'blue', 0);
        ${\'blue'} = 'turtle';
    ...
        ${\5} = 5.000000000001;
        
    };
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (15)
As of 2015-07-02 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (40 votes), past polls