Re: [Boston.pm] GUI builders, support tools
After learning Quanta for web development I'm much more interested in looking at improved coding tool for Perl. I've played with Eclipse a little, and intend to get back to it when I have a a couple tuits. I'm not interested in WYSIWYG editors. But here's something you basic text editor doesn't give you that I think Eclipse does. Function jumping (or whatever it's called). I'd _LOVE_ to be able to click (or highlight and meta-somthing, whatever) on a function or method call and have the editor skip directly to it's definition - even if it is from another module and had to go find it! I used the free Perl-IDE for Windows briefly and while it was nice, the code highlighting it did, you could also get with Xemacs so I didn't see the need to keep using it. ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] When will the Jan meeting be?
Have we rejected John Harvard? (It's been about a year since we were there last, right?) Easy T access, good beer, food wasn't bad. --kag John Harvard does excel in the above mentioned areas, but it is also a *very* noisy place, at least the times I've been there. (Of course, it might be quiet on an 'off' night.) Their burgers *are* pretty good, btw. -Tim ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Tech Meeting Followup
URL? I have posted more of my demo to the Wiki page. If Tim and Ron would do likewise. bill --- William Ricker [EMAIL PROTECTED] ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] small nagging question
From: Chris Devers [EMAIL PROTECTED] On Wed, 21 Jul 2004, Timothy Kohl wrote: for example use CGI qw(:cgi-lib) I realize this is for grabbing a portion of a larger .pm file, but how does it differ from say use LWP::Simple; You mean aside from being completely different libraries? :-) You've basically got it: by specifying what parts of a module you want to import into your own code, you're explicitly using only the aspects of the library that are relevant to what you want to do. This can keep your runtime code a bit smaller, and by extension faster. It can also keep things cleaner, in that you're less likely to have conflicts between your own variables functions and the ones that came from parts of the module you aren't interested in. It's a funny question, now that you ask it -- isn't it just intuitively obvious that restricting specifying things this way is a good habit? By digging into CGI.pm, I do see the differences (thanks to all who responded btw). My main puzzlement was the :small-piece syntax. Looking at CGI.pm, I see, for example %EXPORT_TAGS = ( . . . ':cgi-lib' = [qw/ReadParse PrintHeader HtmlTop HtmlBot SplitParam Vars/], etc. ) so that the ':' is a convention. I understand LWP::Simple a little better in that contained within the library area of the Perl tree is LWP.pm as well as a subdirectory LWP wherein is a separate Simple.pm file. I don't know if this too is a convention, but it's a sensible convetion if it is. -T ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Is there a module to access memory usage?
But of course, this isn't portable. It won't work on Windows -- which was specifically asked for -- and it also won't work on OSX or various other Unix variants. Back to square one? The point is, there is obviously no portable way to do this except code a bunch of different variants and bundle them together in one monolithic module. For example DBI has to be taught (more or less) how to handle different flavored databases. -T ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] DBD::mysql 'make test' failure
Hi, I'm trying to install DBD::mysql (version 2.9003) and am getting failures across the board when doing 'make test' The Perl version is 5.84 with DBI-1.42 already installed. The common theme in all the failures has to do with this: /export/home1/tkohl/DBD-mysql-2.1028/blib/arch/auto/DBD/mysql/mysql.so: symbol mysql_real_escape_string: referenced symbol not found at /local/local1/perl584/lib/5.8.4/sun4-solaris-ld/DynaLoader.pm line 230. I had this working before with 5.004 with the same MySQL server so I'm kind of puzzled as to what the problem is. Any hints/insights would be appreciated. -Tim P.S. On a separate note, I recently built Tk-804.27 and all of a sudden I had to replace all instances of (for example) pack(side='left') with pack(-side='left') likewise for other widget attributes, grr... ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] DBD::mysql 'make test' failure
Forwarded message: /export/home1/tkohl/DBD-mysql-2.1028/blib/arch/auto/DBD/mysql/mysql.so: symbol ^ It appears that an older version of DBD-mysql is being picked up ... Actually, I *had* tried 2.9003 but that gave the same error so I then tried 2.1028 which is what you're seeing above. Regardless, the problem seems to be that the version of MySQL I'm using does not have the client function, I'm building 4.0 to see if that fixes the problem. -T ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Tech Meeting Followup
If I may narrow it down to ones that haven't been presented to a Boston.pm meeting before, these ones look good: * Everyday Perl http://damian.conway.org/Seminars//Everyday.html I'm casting my vote for this one. -T ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] What to do at tonight's meeting?
On Mon, 2004-06-14 at 11:20, Ronald J Kimball wrote: We could do a communal code review on code that people bring to the meeting. This could also be cool. We haven't done anything like this in a long time - I'd certainly be willing to sacrifice some code. Hmm.. as I mentioned earlier, I'm working on some code to generate scripts that I feed to computer algebra system and I'd be interested for some ideas on how to streamline certain things. What would it mean to 'bring code'? Hardcopy? or would shelling into a system and bringing up some of the code onscreen be ok? -Tim ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] GUI work ...
I've written several GUI front ends to things like MySQL databases and such and Perl/Tk is a very good choice, moreover, if you use Perl/Tk it should work on a wide variety of platforms. Just my $0.02. -Tim Hello; I've been listening to the list for some time now, and find much of the discussion very interesting. I do have one question. When you want to write something with a GUI ... what do you use? PERL/TK? PERL with WinLib? Something else entirely (like JAVA)? I'd really like to leverage my knowledge of PERL before learning an entirely new programming language, just so I can have a UI. Since most of my work is done on Windows machines, I have been writing HTA's with JavaScript and using the HTML for building my interfaces ... but there are serious limitations! I don't need UI that often, but when I do I am left in quite the quandry. Any insight would be appreciated. === Stephen ~runester~ Jarjoura ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] Tk question.
Hi, I am trying to set up an associative array where the values are method calls (specifically widget creation calls) for Tk. Ex: (I know this doesn't work) %Valid=( hostname = Entry(width=30,background='darkgreen',-textvariable=\$curval{hostname}) ) The problem is that I am not sure how to quote the value associated to hostname so that later in the program I can do this: $prop{hostname}=$rightframe-$Valid{hostname}-pack(side='right'); where $rightframe is a Frame object. and insert the corresponding method between the arrows to realize the Entry box. Thanks, -Tim K. (longtime lurker, first time [I think] poster) ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] empty versus zero
How about this? [EMAIL PROTECTED](join(,@X)); -Tim Dear experts, I think this is a fairly simple question... How can I count empty values in an array? This count should not include zeros or non-empty values. Below is my current script, but it isn't working properly. I appreciate any assistance that you may provide. Thank you, David #!perl -w # Count missing values while (my $line = ) { chomp ($line); my ($probe_id,$expression) = split /\t/, $line, 2; my @expression = split /\t/, $expression; my $count = 0; foreach my $value (@expression) { if (!$value) { $count += 1; } } print $count\n; } __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] empty versus zero
I realize that, but the conditional he uses (!$value) *will* catch 0. -T On Wednesday, August 13, 2003, at 01:21 PM, Timothy Kohl wrote: (!$value) will catch zero 0 and undefs, but not 0.0. He doesn't want to catch either 0 or 0.0 . ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm