note
Anonymous Monk
<p><i> i would be happy if i would have anything in @_, but debug and a dump show nothing in there. </i>
<p> :) Can you prove it?
<p> In the code you posted you use $_, but $_ is not @_;
<p> To prove you might post [href://http://sscce.org/|sscce] like <c>
use ...
my $rawglade = q{<?xml version="1.0" standalone="no"?>
... };
my $gladexml = Gtk2::GladeXML->new_from_buffer( $rawglade );
$gladexml->signal_autoconnect_from_package('main');
sub btnNUM_clicked {
print "yay clicked @_ \n";
}
__END__
yay clicked
yay clicked
</c>
<p> [href://get_current_event site:http://gtk2-perl.sourceforge.net/doc/|OTOH] :)
<p> <tt> my $button = Gtk2->[href://http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/main.html#event_or_undef_Gtk2_|get_curr]ent_[href://http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/Gdk/Event.html#window_or_undef_even|event]->[href://http://developer.gnome.org/gdk/2.22/gdk-Event-Structures.html#GdkEventAny|window] </tt>
1014509
1014645
1