... then shame on you. But as consolation, you may be interested in this job posting which we were asked to distribute. Since the course for which they're...
424
James Keenan
jamesekeenan
May 11, 2005 1:53 am
Note: This is not exactly the same posting as last week. Read on ... Our final official meeting for the 2004-05 season will take place on the third Tuesday...
425
James Keenan
jamesekeenan
May 11, 2005 10:39 pm
From YAPC organizers in Toronto: Register now to avoid accommodations bottlenece! Hi everyone... There have been some recent developments on the YAPC::NA...
426
Jim Keenan
jamesekeenan
May 13, 2005 1:17 pm
In case you need any more convincing to attend YAPC in Toronto at the end of June, there's a nice interview with Richard Dice, the conference39;s lead organizer,...
427
James Keenan
jamesekeenan
May 18, 2005 3:44 am
Thanks to all members and attendees at the eight meetings of the fifth season of Perl Seminar NY. And special thanks to our speakers! Oct 2004: Alex Gill and...
428
James Keenan
jamesekeenan
May 18, 2005 4:30 am
I uploaded a file containing a *very* rough description of our discussion tonight of MJD's Higher-Order Perl. Go to ...
429
Mark P Sullivan
pedidex
May 19, 2005 5:09 am
I read a bit of perlsub after last night's discussion. Calling a prototyped function with improper arguments gives a compile-time error (not run-time, though...
430
Jeff Anderson
captvanhalen
May 19, 2005 2:26 pm
Why even use prototypes in Perl5? Aren't they broken? Free yourself man! Down with the tyranny that is prototypes!!! And sorry i missed the meeting Tuesday ......
431
James Keenan
jamesekeenan
May 19, 2005 10:08 pm
... Would you give some examples of how they're broken? ... I don't feel they're particularly tyrannical. I've never had occasion to write a subroutine which...
432
Perrin Harkins
consumer
May 20, 2005 3:44 am
... Tom Christiansen wrote a lengthy article about why you shouldn't use them. Randal has also told people not to use them. Tom's article is here: ...
433
Vsevolod (Simon) Ilyu...
simonf
May 23, 2005 7:03 pm
Hi, To test CGI file uploads, I've created a class that behaves like a scalar and a filehandle at the same time. In scalar context, it returns the uploaded...
434
Perrin Harkins
consumer
May 23, 2005 7:19 pm
... That sounds needlessly confusing to me. What's the advantage? - Perrin...
435
Vsevolod (Simon) Ilyu...
simonf
May 23, 2005 7:26 pm
... That's what happens when you process a file upload using CGI.pm. In order to test the code that processes these files, I had to come up with a way of...
436
Kurt Starsinic
kurt_starsinic
May 23, 2005 8:27 pm
... Pardon my ignorence, but what is "filehandle context?" - Kurt...
437
Vsevolod (Simon) Ilyu...
simonf
May 23, 2005 8:32 pm
... I've probably used a bad term. I mean that a variable can be used as a regular filehandle, plus in assignments it returns a string instead of its value...
438
Perrin Harkins
consumer
May 23, 2005 9:06 pm
... So it's a mock CGI upload? That sounds more reasonable, but in general I would want to discourage people from creating magical interfaces like this. -...
439
Vsevolod (Simon) Ilyu...
simonf
May 23, 2005 9:14 pm
... I'm all for it, but is there a better way to test CGI uploads? Simon -- Simon (Vsevolod ILyushchenko) simonf@... http://www.simonf.com Terrorism is...
440
James Keenan
jamesekeenan
May 23, 2005 10:03 pm
... It's apparently a subject which hasn't generated much discussion until now. I googled for "CGI upload" on both perl.module-authors and perl.qa and came up...
441
Vsevolod (Simon) Ilyu...
simonf
May 23, 2005 11:40 pm
... Thanks, but looks like none of that deals with what I propose. ... NAME CGI::Filehandle SYNOPSIS #Test code: use CGI; my $q = new CGI; my $fh =...
442
Vsevolod (Simon) Ilyu...
simonf
Jun 20, 2005 10:51 pm
Hi, To follow up on the discussion of "Higher Order Perl", I've tried applying its ideas. Here's a rewrite of a Python FP example. ...
443
Jeff Anderson
captvanhalen
Jun 27, 2005 3:57 pm
Maybe i'm just too practicle, but what advantage does FP offer over a straight foward approach, such as: use strict; use warnings; my $arg = shift; while...
444
Vsevolod (Simon) Ilyu...
simonf
Jun 27, 2005 4:09 pm
Jeff, Well, it's much more flexible - you can dynamically change what files and what rules you use. I think it's one of the main points of FP - check out the...
445
Steven Lembark
x17f606ab2d4...
Jun 27, 2005 5:11 pm
-- Jeff Anderson <captvanhalen@...> ... Sort of like relational calculus: It depends on whether you're trying to find a general solution to somthething ...
446
Steven Lembark
x17f606ab2d4...
Jun 28, 2005 12:26 pm
-- "Vsevolod (Simon) Ilyushchenko" <simonf@...> ... Ugly? You can always go out of your way to write perl that's sloppy enough that it looks worse than...
447
Vsevolod (Simon) Ilyu...
simonf
Jun 28, 2005 1:22 pm
... I referred to my code in relation to the original Python code. :) ... Purely visually, Perl has more special characters which make the code look ungainly...
448
Vsevolod (Simon) Ilyu...
simonf
Jul 5, 2005 10:00 pm
Hi, Can I call methods of the elements of an array returned from a function in the same statement that calls the function? That is, I'd like something that...
449
David H. Adler
dhanyc1
Jul 5, 2005 11:35 pm
... Well, my first response would be "why??" dha -- David H. Adler - <dha@...> - http://www.panix.com/~dha/ however, if people don't like Perl, they...
450
Vsevolod (Simon) Ilyu...
simonf
Jul 5, 2005 11:41 pm
... Because I can't. :) Seriously, database query methods in Class::DBI return arrays, not array refs. I'm used to writing, roughly,...
451
David H. Adler
dhanyc1
Jul 5, 2005 11:48 pm
... I don't know if I can endorse that reason, but I certainly understand it! :-) ... Hm. The two (totally untested) ideas that pop off the top of my head are:...
452
James Keenan
jamesekeenan
Jul 6, 2005 12:02 am
... Why the curly braces here? Shouldn't they be parens? jimk...