From daniel at coder.com Sun Oct 3 09:46:13 2004 From: daniel at coder.com (Daniel R. Allen) Date: Sun Oct 3 09:54:41 2004 Subject: [kw-pm] Re: windows GTK perl problem In-Reply-To: <00a001c4a739$4cae1cb0$590a0a0a@PremRaja> Message-ID: I'm posting your question to our local perl mongers list; if anybody is experienced with GTK and windows perl, they might be able to help. -Daniel -- http://kw.pm.org/ - Kitchener-Waterloo Perl Mongers - da@kw.pm.org http://coder.com/ - Prescient Code Solutions - (519) 575-3733 da@coder.com PremRaja wrote: > Hi, > i have installed perl in my windows 2000 system. > when i execute the program using " c:\usr\expts\perl one.pl ", it is running without any error. > but when i use " c:\usr\expts\perlapp one.pl ", i am getting the one.exe. > when i run the one.exe file, runtime error is comming > > the error is : > GLib-GObject-CRITICAL **: file gobject.c: line 1350 (g_object_set_qdata_full): assertion `quark > 0' failed at one1.pl line 13. > GLib-GObject-CRITICAL **: file gobject.c: line 1350 (g_object_set_qdata_full): assertion `quark > 0' failed at one1.pl line 15. > Can't locate object method "signal_connect" via package "Gtk2::Button" at one1.pl line 16. > > the program is : > use Gtk2 '-init'; > > sub hello > { > my ($widget, $window) = @_; > print "Hello, World\n"; > > $window->destroy; > } > > $window = Gtk2::Window->new('toplevel'); > $button = Gtk2::Button->new("Hello World"); > $button->signal_connect(clicked => \&hello, $window); > $window->add($button); > $button->show; > $window->show; > Gtk2->main; > 0; > > give me some suggesion to solve this problem. pls give it as soon as possible. > > Regards, > Premraja From rpjday at mindspring.com Sun Oct 10 09:08:55 2004 From: rpjday at mindspring.com (Robert P. J. Day) Date: Sun Oct 10 09:15:52 2004 Subject: [kw-pm] how do i install perl-CGI? Message-ID: (no, the question is not as simple as it sounds.) i want to install the latest "stable" beta of the twiki program on my FC2 system, so i started off at twiki.org and eventually located some fairly recent RPM files at: http://twiki.org/cgi-bin/view/Codev/TWikiRPMs down at the bottom. i grabbed the 20040901 noarch rpm, and did a dry-run install, just to see what would happen. # rpm -ivh --test twiki-20040901-2.noarch.rpm error: Failed dependencies: perl-CGI is needed by twiki-20040901-2 hmmm ... i recall, once upon a time, using CPAN to install the basic CGI module on my system, but obviously, that doesn't help since the twiki RPM explicitly wants an *rpm* file with that name. hunt around, locate one at http://www.megaloman.com/~hany/RPM/doors4.0/perl-CGI-2.81-88.3.1.i386.html although it certainly seems that this would be a sub-rpm of the standard perl package, doesn't it? there is no "perl-CGI" rpm package currently installed on my system, so i try to install one and i'm not surprised to get: # rpm -ivh --test perl-CGI-2.81-88.3.1.i386.rpm warning: perl-CGI-2.81-88.3.1.i386.rpm: V3 DSA signature: NOKEY, key ID ac64a5d1Preparing... ########################################### [100%] file /usr/share/man/man3/CGI.3pm.gz from install of perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18 file /usr/share/man/man3/CGI::Apache.3pm.gz from install of perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18 file /usr/share/man/man3/CGI::Carp.3pm.gz from install of perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18 file /usr/share/man/man3/CGI::Cookie.3pm.gz from install of perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18 file /usr/share/man/man3/CGI::Fast.3pm.gz from install of perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18 file /usr/share/man/man3/CGI::Pretty.3pm.gz from install of perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18 file /usr/share/man/man3/CGI::Push.3pm.gz from install of perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18 file /usr/share/man/man3/CGI::Switch.3pm.gz from install of perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18 file /usr/share/man/man3/CGI::Util.3pm.gz from install of perl-CGI-2.81-88.3.1 conflicts with file from package perl-5.8.3-18 so ... what's the recipe here? from what i can read (and i might be totally off-base), i seem to already have perl-CGI functionality as part of the base perl package, but the twiki rpm has been created (erroneously?) to look specifically for a perl-CGI rpm which most likely won't exist. thoughts? rday From daniel at coder.com Mon Oct 18 14:37:27 2004 From: daniel at coder.com (Daniel R. Allen) Date: Mon Oct 18 14:38:43 2004 Subject: [kw-pm] Meeting this Thursday 7pm Message-ID: Announcing the October meeting of the KITCHENER-WATERLOO Perl Mongers - kw.pm - For enthusiasts of the Perl programming language Topic: Perl 6 and Parrot Eric will speak on "Perl 6: Twenty Things I Love, Five Things You'll Hate," and Lloyd will speak on Parrot, the virtual machine that will run Perl 5, 6, Python, Java, and other bytecode. Date/Time: Thursday the 21st of October, 2004, at 7pm Location: University of Waterloo Bioinformatics Lab, Davis Centre room 2305 For directions and a map, please check our FAQ: http://kw.pm.org/faq.html After the meeting we will adjourn to Morty's for drinks. Parking: The closest legal parking is the 'B' lot, which has public parking after 4pm for $3 (coin only). The entrance is on Phillip Street, just after the University Plaza going East on University Ave. From eric at uc.org Mon Oct 18 23:47:14 2004 From: eric at uc.org (Eric - fishbot) Date: Mon Oct 18 23:47:59 2004 Subject: [kw-pm] Last chance for a free* beer... Message-ID: The October PM meeting is this Thursday! Don't forget about the Free Beer offer I made after the last meeting. Details are here: http://kw.pm.org/wiki/index.cgi?Games The beer is available after the meeting, at Morty's, for those that solve the mystery. If you are stumped, attend the Thursday meeting for the solution. I admit that is a tough one... so I'll offer an alternative beer winner. If anyone can explain the behaviour of this code: http://kw.pm.org/wiki/index.cgi?CapturedParens when the lookahead assertion is removed. The regex engine should theoretically be thrown into an infinite loop, but it doesn't. Disclaimers: One beer per person. First challenge not open to those that attended the September meeting. Must be of legal drinking age. Hope to see you all on Thursday! Eric From daniel at coder.com Tue Oct 19 09:18:47 2004 From: daniel at coder.com (Daniel R. Allen) Date: Tue Oct 19 09:20:08 2004 Subject: [kw-pm] freebie (not beer) Message-ID: It doesn't approach free beer, but we also have five free copies of The Perl Review (the brand new dead-tree perl magazine, put out by brian_d_foy) to give out on Thursday. It's the issue AFTER the latest one you can download from http://www.theperlreview.com/ (volume 1 issue 0). -Daniel From daniel at coder.com Sun Oct 24 10:16:57 2004 From: daniel at coder.com (Daniel R. Allen) Date: Sun Oct 24 10:18:56 2004 Subject: [kw-pm] Thursday's meeting In-Reply-To: Message-ID: A public "thank-you" to Lloyd and Eric for their talks. Lloyd's talk on Parrot had lots of good discussion from the peanut gallery, and gave me a good idea of what Parrot is, and what to expect it will be, when it's more complete. Eric's talk on perl6 was super- shorter than damien, more useful than the apocolypses, and quite encouraging about the future of perl. I'm looking forward to following perl 6 developments. And maybe trying out the Perl6:: modules for perl 5. There's an amusing kerfuffle where freshmeat recently published a "critique of where perl 6 is heading" which sumarizes to "I don't understand perl 6 so it's not as good as perl 5"... If only he'd seen eric's talk. ;) So did you go for drinks, or did everybody make an early night of it? -Daniel -- http://coder.com/ - Prescient Code Solutions - (519) 575-3733 da@coder.com From daniel at coder.com Sun Oct 24 10:22:45 2004 From: daniel at coder.com (Daniel R. Allen) Date: Sun Oct 24 10:24:43 2004 Subject: [kw-pm] November's meeting topic Message-ID: We didn't discuss november's topic, since the meeting went into overtime. But we decided two things: 1) we should order pizza for it, and 2) we should have a social meeting in december. Ideas for topics? Arguile, are you available to talk on graphvis? I could whip up something on imagemagick or GD, if we wanted a graphics theme. The puzzle in September was fun, maybe we could do something like that again. Maybe an intro-ish topic, using databases with perl? -D From rdice at pobox.com Sun Oct 24 20:18:37 2004 From: rdice at pobox.com (Richard Dice) Date: Sun Oct 24 20:18:41 2004 Subject: [kw-pm] Thursday's meeting In-Reply-To: References: Message-ID: <417C546D.6020906@pobox.com> > There's an amusing kerfuffle where freshmeat recently published a "critique > of where perl 6 is heading" > which sumarizes to "I don't understand perl 6 so it's not as good as perl > 5"... If only he'd seen eric's talk. ;) Thanks for pointing me to this, for some values of 'thanks.' Call it nostalgia. I've seen the author of this, Shlomi Fish, talk about this for a few years ago. I think I even read his inaurgural musing about how Perl 6 is wrong and he's got a better approach for evolving Perl 5. I forget which forum I read it in, though. Cheers, Richard From daniel at coder.com Thu Oct 28 17:20:55 2004 From: daniel at coder.com (Daniel R. Allen) Date: Thu Oct 28 17:23:25 2004 Subject: [kw-pm] slides from October Meeting / November? Message-ID: We have slides from the October meeting on Perl 6, at: http://kw.pm.org/talks/2004-10-24-Perl6talk.ppt Looking at November: anybody have a short puzzle they want to deconstruct / present code for? Good examples would be: math puzzles, language puzzles (given a suitable dictionary), logic puzzles... Eric's offered to present one, on an unknown topic. I could present one myself- on the topic of rhyming dictionaries. Other topic suggestions for this or future meetings? Databases / DBI? (half intro-level; half tricks like DBD::SQLite) hacking Bricolage CMS? I won't have time to prepare either of these for November, but maybe in the new year? -Daniel -- http://coder.com/ - Prescient Code Solutions - (519) 575-3733 da@coder.com From eric at uc.org Sun Oct 31 22:46:08 2004 From: eric at uc.org (Eric - fishbot) Date: Sun Oct 31 22:46:31 2004 Subject: [kw-pm] slides from October Meeting / November? In-Reply-To: References: Message-ID: > Eric's offered to present one, on an unknown topic. I > could present one myself- on the topic of rhyming > dictionaries. Rhyming dictionaries! That sounds cool Daniel. I vote for that. I can do a 20 min. talk on map and grep -- something more practical than the Perl6 talk. Anyone interested? > Other topic suggestions for this or future meetings? > Databases / DBI? (half intro-level; half tricks like > DBD::SQLite) hacking Bricolage CMS? Both sound great. Anyone else out there want to do a talk? Anyone done anything cool lately they want to just show for discussion? Something I think that we could consider is asking some of the tpm people if they want to come out and do a talk they prepared for tpm for us. Offer them free pizza and beer, perhaps. Eric