Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: RFC: Class::Proxy::MethodChain

by adrianh (Chancellor)
on Feb 23, 2003 at 02:14 UTC ( [id://237840]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $old = $foo->fribble
    $foo->fribble($new);
    ... do something ...
    $foo->fribble($old);
    
  2. or download this
    my $old = $foo->fribble($new)
    ... do something;
    $foo->fribble($old);
    
  3. or download this
    package Class::Chain;
    use strict;
    ...
    };
    
    sub DESTROY {};
    
  4. or download this
    # call the whatever method and return $wrapped
    $wrapped->whatever
    ...
    
    # run $wrapped->$coderef and return $wrapped
    $wrapped->chain($coderef)
    
  5. or download this
    my $file_dialog = Gtk::FileSelection
       ->Class::Chain::new("File Selection Demo")
    ...
       ->set_filename("penguin.png")
       ->signal_connect(destroy => sub{Gtk->main_quit})
       ->show();
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://237840]
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 19:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found