Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 chilling in the Monastery: (11)
As of 2014-08-28 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (255 votes), past polls