Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 romping around the Monastery: (12)
As of 2015-07-06 19:58 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 (81 votes), past polls