Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: RFC: Class::Proxy::MethodChain

by Aristotle (Chancellor)
on Feb 25, 2003 at 23:07 UTC ( #238599=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    given(Gtk::FileDialog->new()) {
        .ok_button.label("Load");
    ...
        .connect_signal(destroy => sub { ... });
        # ...
    }
    
  2. or download this
    sub for_obj(
        local $_ = shift;
        shift->();
        $_;
    }
    
  3. or download this
    my $window = for_obj(Gtk::Window->new("toplevel"), sub {
        $_->signal_connect(delete => sub { Gtk->exit(0) });
    ...
        });
        $_->show;
    });
    
  4. or download this
    sub for_obj { $_[1]->() for $_[0]; $_[0] }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2014-12-25 17:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (161 votes), past polls