Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
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 having an uproarious good time at the Monastery: (3)
As of 2024-04-15 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found