Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by cwest (Friar)
on Jul 21, 2000 at 18:26 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://23583]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 23:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found