Re: Tutorial code converted to Perl



>>>>> "t" == tile  <tile@primenet.com> writes:

t> Note that you do not need to send the $window object to Gtk::main_quit
t> to destroy the window gracefully.  Neither produce errors and the script
t> runs under strict and -w with no errors.

This exposes a deficiency in my understanding, then.  Is the tutorial code
doing this unnecessarily?

>From the looks of things, gtk_signal_connect_object is completely unneeded
in Perl because you can just pass a coderef that calls the appropriate
object's event code.

 - J<



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]