Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

How can I re-program the exists function?

by greengaroo (Hermit)
on Aug 24, 2012 at 14:06 UTC ( #989548=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package MyExists;
    
    ...
    }
    
    1;
    
  2. or download this
    use MyExists qw(my_exists);
    
    ...
    print "My exists: ";
    print my_exists( $hash{'test3'} );
    print "\n";
    
  3. or download this
    Real exists: 1
    My exists: No!
    Real exists:
    My exists: No!
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2015-09-05 01:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (151 votes), past polls