Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: RFC: Class::Proxy::MethodChain

by Aristotle (Chancellor)
on Feb 25, 2003 at 23:07 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://238599]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-03-29 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found