[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Gtk2-perl shell (problem with GLib-GObject)
- From: "A. Pagaltzis" <pagaltzis gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Gtk2-perl shell (problem with GLib-GObject)
- Date: Tue, 18 Jan 2005 15:05:43 +0100
* muppet <scott asofyet org> [2005-01-18 14:35]:
> Redefining methods in perl works fine (you can do it trivially
> when using gws), although i'm not sure there's a way to disable
> the "subroutine foo redefined at line xx" warning (perhaps
> turning off strict? i can't remember).
Put
no warnings 'redefine';
or
local $^W;
in the block which redefines the sub, depending on how old your
Perl is.
Regards,
--
#Aristotle
*AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1}
&Just->another->Perl->hacker;
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]