Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Setting up signal handlers for an object with access to $self

by ZZamboni (Curate)
on Apr 19, 2000 at 22:35 UTC ( [id://8065]=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub set_signal_handlers {
      my $self=shift;
    ...
      my $self=shift;
      # Now I can access the object through $self
    }
    
  2. or download this
    package Obj;
    
    ...
    my $obj2 = new Obj(name => 'obj2');
    
    while (1) { }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-19 21:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found