Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by adrianh (Chancellor)
on Feb 23, 2003 at 02:14 UTC ( #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
Node Status?
node history
Node Type: note [id://237840]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2014-08-01 14:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (25 votes), past polls