Re: more on perl5 modules

2006-09-18 Thread Richard Hainsworth
I copied your neat program into a file, called it gtk2test.p6 and got pugs gtk2_test.p6 *** unexpected : expecting term postfix, operator, ; or end of input at gtk2_test.p6 line 2, column 56 However, I am using pugs from the debian package and not directly from the repository. So

Re: more on perl5 modules

2006-09-18 Thread A. Pagaltzis
* Richard Hainsworth [EMAIL PROTECTED] [2006-09-18 15:20]: I copied your neat program into a file, called it gtk2test.p6 and got pugs gtk2_test.p6 *** unexpected : expecting term postfix, operator, ; or end of input at gtk2_test.p6 line 2, column 56 Note my translation was purely

more on perl5 modules

2006-09-17 Thread Richard Hainsworth
The .can workaround doesnt seem to work for more complex modules. Here is a working perl5 program that puts up a message with two buttons. use strict; use Gtk2 -init; use Gtk2::Ex::Dialogs(destroy_with_parent=-1, modal=-1, no_separator = 0); my $window = Gtk2::Window-new('toplevel');

Re: more on perl5 modules

2006-09-17 Thread A. Pagaltzis
* Richard Hainsworth [EMAIL PROTECTED] [2006-09-17 18:05]: The .can workaround doesnt seem to work for more complex modules. Err, the .can workaround is a way to get past missing sub exports. Methods are never exported. Why are you using the workaround for sub exports on methods. Here is a