Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Perl semi-object without a constructor

by Wiggins (Friar)
on Feb 20, 2013 at 20:14 UTC ( #1019841=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      shift unless ref($_[0]); # shift if first arg is package name
    
  2. or download this
    sub _new_client {
        my $sock = $main_socket->accept();
    ...
            $conn->disconnect();
        }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-09-21 08:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (168 votes), past polls