Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 lurking in the Monastery: (7)
As of 2014-07-12 05:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (238 votes), past polls