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

Re: How to make bi-modal variables like $! ?

by japhy (Canon)
on Jun 28, 2001 at 20:14 UTC ( #92346=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package DualVar;
    
    ...
    sub new { bless [ @_[1,2] ], $_[0] }
    
    1;
    
  2. or download this
    use DualVar;
    
    my $x = DualVar->new("japhy", 19);
    printf "I'm %s, and I'm %d years old.\n", $x, $x;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-07-07 04:47 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 (87 votes), past polls