Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Calling a class constructor as a function on input arguments

by cwest (Friar)
on Jul 21, 2000 at 18:26 UTC ( #23583=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $os = eval "\\&FTP::Session::${^O}->new";
    my %constor = ( $^O => $os );
    
  2. or download this
    sub new { bless {}, shift };
    # which is equivalent to this
    ...
    # Bless could actually be:
    bless {}, 'Package::Name';
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://23583]
help
Chatterbox?
[marioroy]: Lady_Aleena Angels on earth are real people. That's awesome.
[Lady_Aleena]: marioroy, what does MCE stand for in this instance? There are 3 pages of abbreviations to go through.
[Lady_Aleena]: ^ or Discipulus...
[marioroy]: Many-core Engine
[choroba]: MCE
[karlgoethebier]: is about to reach nirvana tonight...
[Lady_Aleena]: It could have meant a "Miserably Cute Event" or "Man Crush Everyday". 8)
[Corion]: choroba: Re the one-shot thing, I also thought of bit vectors and/or indexes into one common array from the hashes, but that makes maintenance of all these indices a chorse
[Corion]: *core
[Corion]: ** chore

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2017-05-29 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?