Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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?
[usemodperl]: someone has yet to make that future famous free http to https proxy written in perl and supported by ads, paypal, patreon, etc to make millions of dollars a minute!
[Veltro]: Why would this be fresh, I recon this is stuff that happens all the time (not Perl per se)
[Corion]: usemodperl: I'm sure you could even code that on the command line.
[usemodperl]: definitely

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2018-06-24 17:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?