From tkil-sdpm at scrye.com Tue Oct 8 15:25:02 2002 From: tkil-sdpm at scrye.com (Tkil) Date: Thu Aug 5 00:20:39 2004 Subject: Test Post Message-ID: <15779.16158.693985.114967@brand.scrye.com> ~sdpm~ tap tap tap ... this thing on? ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From rkleeman at energoncube.net Tue Oct 8 15:46:00 2002 From: rkleeman at energoncube.net (Bob Kleemann) Date: Thu Aug 5 00:20:39 2004 Subject: Test Post In-Reply-To: <15779.16158.693985.114967@brand.scrye.com> References: <15779.16158.693985.114967@brand.scrye.com> Message-ID: <20021008204600.GA28456@energoncube.net> ~sdpm~ It looks like it's working now. I was having some trouble with it over the last week. How about anyone else? On Tue, Oct 08, 2002 at 02:25:02PM -0600, Tkil wrote: > ~sdpm~ > > tap tap tap ... this thing on? > ~sdpm~ ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From menolly at mib.org Tue Oct 8 15:51:50 2002 From: menolly at mib.org (Menolly) Date: Thu Aug 5 00:20:39 2004 Subject: Test Post In-Reply-To: <15779.16158.693985.114967@brand.scrye.com> Message-ID: ~sdpm~ On Tue, 8 Oct 2002, Tkil wrote: > tap tap tap ... this thing on? Nope. -- )\._.,--....,'``. | menolly@mib.org /, _.. \ _\ (`._ ,. | http://www.livejournal.com/~nolly/ `._.-(,_..'--(,_..'`-.;.' fL| Paranoid Cynical Optimist ----------------------------------------------------------------- You would fear me less if you knew me better. --from "The Great Green Worm", by Marie-Catherine D'Aulnoy, tr. A.S. Byatt ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From tkil-sdpm at scrye.com Sat Oct 12 17:27:53 2002 From: tkil-sdpm at scrye.com (Tkil) Date: Thu Aug 5 00:20:39 2004 Subject: Meeting this Wednesday (2002-10-16) Message-ID: ~sdpm~ Our fearless lizard, the mighty Bob K, is off on a sojourn through Northern California for the next two weeks. He's asked his Lackey (that would be me) to convene the meeting this week. A few questions for the list: 1. Will anyone else show up? Last month's meeting was a bit sparse. 2. Topic? My initial thought is something like "How to make Data Structures -- or at least Maintenance Programmers -- Scream in Pain", but I'd be happy to hear alternate suggestions. 3. Alternate meeting mode / location / format? I apologize for breaking tradition by posting the reminder more than a day in advance. t. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From menolly at mib.org Sat Oct 12 20:40:00 2002 From: menolly at mib.org (Menolly) Date: Thu Aug 5 00:20:39 2004 Subject: Meeting this Wednesday (2002-10-16) In-Reply-To: Message-ID: ~sdpm~ On 12 Oct 2002, Tkil wrote: > 1. Will anyone else show up? Last month's meeting was a bit sparse. I'm still teaching on Weds. nights, so I can't make the usual time. > 2. Topic? My initial thought is something like "How to make Data > Structures -- or at least Maintenance Programmers -- Scream in > Pain", but I'd be happy to hear alternate suggestions. That one sounds fun to me...but I keep inheriting large undocumented codebases full of complex data structures, so I'm biased. > 3. Alternate meeting mode / location / format? Monday or Tuesday? -- )\._.,--....,'``. | menolly@mib.org /, _.. \ _\ (`._ ,. | http://www.livejournal.com/~nolly/ `._.-(,_..'--(,_..'`-.;.' fL| Paranoid Cynical Optimist ----------------------------------------------------------------- You would fear me less if you knew me better. --from "The Great Green Worm", by Marie-Catherine D'Aulnoy, tr. A.S. Byatt ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From joel at fentin.com Sun Oct 13 12:23:52 2002 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:39 2004 Subject: Meeting this Wednesday (2002-10-16) Message-ID: <003301c272dd$4d7446c0$62873f42@6540q01> ~sdpm~ > 1. Will anyone else show up? Last month's meeting was a bit sparse. I was toying with the idea of showing up. My presence creates an automatic quarum. ================= > 2. Topic? My initial thought is something like "How to make Data > Structures -- or at least Maintenance Programmers -- Scream in > Pain", but I'd be happy to hear alternate suggestions. Right now I have no perl projects going. There is nothing in particular that grabs me. ================= > I apologize for breaking tradition by posting the reminder more than a > day in advance. May our fearless lizard follow in your footsteps. ================= Did anybody else send in the $10 for the new Perl Journal? Has anyone heard if it is a go? -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com web: http://fentin.com ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From johnharvey at earthlink.net Tue Oct 15 18:35:15 2002 From: johnharvey at earthlink.net (John Harvey) Date: Thu Aug 5 00:20:39 2004 Subject: Meeting this Wednesday (2002-10-16) In-Reply-To: Message-ID: <5.1.1.6.0.20021015162430.0198b4e0@pop.earthlink.net> ~sdpm~ At 04:27 PM 10/12/2002 -0600, Tkil wrote: >1. Will anyone else show up? Last month's meeting was a bit sparse. I am planning to be there. Last month I was in Arkansas visiting family and digging up family roots. Since Tony suggested that I might look into lambda programming, I've glanced at several implementations and have thoroughly confused myself. How does Perl handle lambda? Where should I look? BTW, I don't think lambda is main stream enough for a general topic. Anyhow I plan to be there. If there is going to be elsewhere, let me know. John Harvey ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From tkil-sdpm at scrye.com Tue Oct 15 19:45:40 2002 From: tkil-sdpm at scrye.com (Tkil) Date: Thu Aug 5 00:20:39 2004 Subject: Meeting this Wednesday (2002-10-16) In-Reply-To: References: Message-ID: ~sdpm~ Sorry to leave everything hanging until the last day. It's definitely too late to change meeting time and place [1], so I'm afraid that anyone who can't make Wednesday evening meetings will not be able to make tomorrow's meeting. Sorry about that. As for topic, we should be able to use fun data structures to demonstrate some of the ideas behind the genealogy "lambda" things that I so rashly mentioned a few months back. (And yes, I'll be making a fair bit of it up as I go along.) So, 7p tomorrow (Wednesday, 2002-10-16) at Technical Training Resources. Be there or be ... uh ... absent. If anyone would like to attend, but might need a lift, post to the list. t. [1] Would anyone be interested in forming a counterpoint meeting -- we could experiment with different locations, nights of week, etc. I'd like to try having a meeting in a restaurant / brewpub one of these months... ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From tkil-sdpm at scrye.com Thu Oct 17 19:36:06 2002 From: tkil-sdpm at scrye.com (Tkil) Date: Thu Aug 5 00:20:39 2004 Subject: Notes from 2002-10-16 meeting In-Reply-To: References: Message-ID: <15791.22390.398424.294165@brand.scrye.com> ~sdpm~ We had a reasonable turnout last night; seven of us showed up, including three new faces. Topics included: * GUIs for Perl on Win32. Specifically, someone wanted to use perl to process files on Win32. They wanted a file selector display for this, and Tk was excluded. Suggestions included: + Look to see if there were Win32 bindings for the "Common Control" objects such as File Selector and Color Selector + Write a small app in some other language that can interact more gracefully with ActiveX objects to display the desired dialog box then return the value to a calling perl program + Investigate Win32 Perl bindings for other toolkits: GTK, Qt, wxWindows, etc, etc. * File Globbing, Directory Traversal, etc The short question was something like: "How do I find all the JPEGs on my hard disk [using Perl]?" The cross examination of that question included: + Finding JPEGs by filename or by actual type (the latter typically involving opening each one .... brrr.) + "On my hard disk" is a bit messy itself, on win32 with drive letters, on unix with mounts. Various solutions discussed: + File::Find, and its relationship to / heritage from the unix "find" command. + The differences between globbing (file wildcards) and regular expressions. This brought back memories: http://groups.google.com/groups?selm=glnqtgszo.fsf%40scrye.com * Identifying References, Blessings The short answer is to use the "ref" function. There are a few tricks to this, however; the main being that blessed objects will return only their package name to "ref", with no indication of the type of reference underlying it. You can get the type, even of a blessed reference, by stringifying it: package SomePackage; package main; my $obj = bless {}, SomePackage; print ref $obj; # prints "SomePackage" print "$obj"; # prints "SomePackage=HASH(0xXXXXXXXX)" So you'll occasionally see things like this: my ($real_ref_type) = ( "$obj" =~ m/=([A-Z]+)/ ); Which, for $obj above, sets $real_ref_type to "HASH". * Stringification, Reference Object Lifetimes This provided a segue into a fairly subtle trap. Perl hash keys can only be strings (although the values in hashes can be any scalar type). Trying to use a reference as a hash key will work, but the key will be just a string -- if there are no other live references to the object, that object will be destroyed. This shows up when you build objects at one point in the program, but want to use them elsewhere. A natural way of storing those objects is in a hash -- but using the objects only as the key will not work. This can happen if you had been using hash keys to indicate presence: my %seen_host; foreach my $host ( @hostnames ) { $seen_host{$host} = 1; } If you decide that you want to open a connection to each of these hosts, you might try to modify it like so: my %seen_host; foreach my $host ( @hostnames ) { my $sock = IO::Socket::INET->new( PeerAddr => $host, PeerPort => 80 ); $seen_host{$sock} = 1; # broken! } The problem is that $sock is stringified to become the key in %seen_hosts -- but that doesn't preserve the reference count on the object itself. At the end of the scope of the foreach loop, $sock goes out of scope and is destroyed. When you try to recover them later: my $CRLF = "\x0d\x0a"; while ( my $sock = each %seen_host ) { # oops, $sock is just a string! print $sock "GET / HTTP/1.0", $CRLF, $CRLF; } It won't work. The fix is to stash a copy of the socket, too: my %seen_host; foreach my $host ( @hostnames ) { my $sock = IO::Socket::INET->new( PeerAddr => $host, PeerPort => 80 ); $seen_host{$sock} = { sock => $sock, host => $host }; } my $CRLF = "\x0d\x0a"; while ( my ($sock, $href) = each %seen_host ) { print { $href->{sock} } "GET / HTTP/1.0", $CRLF, $CRLF; } A few topics that would benefit from further discussion on the list: * Threading in Perl Anyone used it? Advice? Any idea when it will show up in ActivePerl? * Win32 GUIs in Perl Experiences? ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From dgwilson1 at cox.net Sun Oct 20 04:02:15 2002 From: dgwilson1 at cox.net (Douglas Wilson) Date: Thu Aug 5 00:20:39 2004 Subject: Notes from 2002-10-16 meeting References: <15791.22390.398424.294165@brand.scrye.com> Message-ID: <000801c27817$63b54440$152d0544@oc.cox.net> ~sdpm~ ----- Original Message ----- From: "Tkil" > * Identifying References, Blessings > > The short answer is to use the "ref" function. There are a few > tricks to this, however; the main being that blessed objects will > return only their package name to "ref", with no indication of the > type of reference underlying it. You can get the type, even of a > blessed reference, by stringifying it: Included in the latest perl (5.8) is Scalar::Util::reftype which returns the reference type of the variable even for blessed variables. -Doug ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From mark at terray.com Thu Oct 24 11:42:50 2002 From: mark at terray.com (Mark T. Sebastian) Date: Thu Aug 5 00:20:39 2004 Subject: Question Message-ID: <3DB8230A.6040806@terray.com> ~sdpm~ Hey- Sorry to bother you all with a newbie type question but I was wondering if there's a command or function that will list all the user installed perl modules on a system. Thanks! -mTs ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From joel at fentin.com Thu Oct 24 12:47:48 2002 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:39 2004 Subject: Question References: <3DB8230A.6040806@terray.com> Message-ID: <002f01c27b85$783b1540$12813f42@6540q01> ~sdpm~ > if there's a command or function that will list all the user installed > perl modules on a system. Run PPM Type query -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com web: http://fentin.com ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From tkil-sdpm at scrye.com Thu Oct 24 13:49:25 2002 From: tkil-sdpm at scrye.com (Tkil) Date: Thu Aug 5 00:20:39 2004 Subject: Question In-Reply-To: <002f01c27b85$783b1540$12813f42@6540q01> References: <3DB8230A.6040806@terray.com> <002f01c27b85$783b1540$12813f42@6540q01> Message-ID: ~sdpm~ >>>>> "Mark" == "Mark T. Sebastian" writes: Mark> if there's a command or function that will list all the user Mark> installed perl modules on a system. See if CPAN::shell can do what you want. For one or two modules, I tend to do: perl -MModule -e 1 And see if that works. >>>>> "Joel" == Joel Fentin writes: Joel> Run PPM Joel> Type query Note that this is ActivePerl and Win32 specific. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From tkil-sdpm at scrye.com Thu Oct 24 17:27:09 2002 From: tkil-sdpm at scrye.com (Tkil) Date: Thu Aug 5 00:20:39 2004 Subject: Question In-Reply-To: <3DB868E8.ED8DDF51@russellsharpe.com> References: <3DB8230A.6040806@terray.com> <002f01c27b85$783b1540$12813f42@6540q01> <3DB868E8.ED8DDF51@russellsharpe.com> Message-ID: <15800.29629.704438.24508@brand.scrye.com> ~sdpm~ >>>>> "Paul" == Paul Sharpe writes: Paul> % perldoc perllocal Paul> http://www.perl.com/pub/a/CPAN/misc/cpan-faq.html Sigh. I knew there was a page like that, but it's not listed on my "perldoc perl", so I didn't look any harder. :( Although there's the corner case of installing modules for private use; if you don't have write permissions to the system-wide "perllocal.pod", your installs aren't listed there. That's typically the point at which I start resorting to @INC hacks. t. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From menolly at mib.org Thu Oct 24 18:05:20 2002 From: menolly at mib.org (Menolly) Date: Thu Aug 5 00:20:39 2004 Subject: Question In-Reply-To: <15800.29629.704438.24508@brand.scrye.com> Message-ID: ~sdpm~ On Thu, 24 Oct 2002, Tkil wrote: > ~sdpm~ > >>>>> "Paul" == Paul Sharpe writes: > > Paul> % perldoc perllocal > > Paul> http://www.perl.com/pub/a/CPAN/misc/cpan-faq.html > > Sigh. I knew there was a page like that, but it's not listed on my > "perldoc perl", so I didn't look any harder. :( > > Although there's the corner case of installing modules for private > use; if you don't have write permissions to the system-wide > "perllocal.pod", your installs aren't listed there. That's typically > the point at which I start resorting to @INC hacks. There's also a relevant program in the Cookbook, recipe 12.19, -- )\._.,--....,'``. | menolly@mib.org /, _.. \ _\ (`._ ,. | http://www.livejournal.com/~nolly/ `._.-(,_..'--(,_..'`-.;.' fL| Paranoid Cynical Optimist ----------------------------------------------------------------- You would fear me less if you knew me better. --from "The Great Green Worm", by Marie-Catherine D'Aulnoy, tr. A.S. Byatt ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From joel at fentin.com Fri Oct 25 23:10:17 2002 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:39 2004 Subject: Browser connection Message-ID: <000301c27ca5$98838780$d6843f42@6540q01> ~sdpm~ Somebody (Tony?) mentioned at the last meeting that it is possible access a perl program in a browser without needing to run a personal server. Right now using an Apache server in my laptop, I put something like the following in the address window of the browser: http://127.0.0.1/cgi-bin/MyProg.pl If I am not using the Apache server, how is it done? -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com web: http://fentin.com ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From joel at fentin.com Fri Oct 25 23:46:52 2002 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:39 2004 Subject: Browser connection References: <48EC150CA6E4D311B18600508B95ADF20AE7C73D@mail1-sd.peregrine.com> Message-ID: <001c01c27caa$b4ee5d00$d6843f42@6540q01> ~sdpm~ > Would that be a file:// type of URL? > > (Depends on what is meant by "access") > > Christopher Running a perl program as shown: http://127.0.0.1/cgi-bin/MyProg.pl -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com web: http://fentin.com ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From joel at fentin.com Sat Oct 26 11:39:23 2002 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:39 2004 Subject: Browser connection References: <48EC150CA6E4D311B18600508B95ADF20AE7C73F@mail1-sd.peregrine.com> Message-ID: <002801c27d0e$3e13e2e0$5a833f42@6540q01> ~sdpm~ > ...but doesn't "http://" imply a server on port 80 waiting > to respond? > > But then if it doesn't, then this is the point of the comment. > > Interested...ly, If I read between the lines correctly, you are saying I must continue to use the Apache server. -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com web: http://fentin.com ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From rkleeman at energoncube.net Sun Oct 27 10:43:23 2002 From: rkleeman at energoncube.net (Bob Kleemann) Date: Thu Aug 5 00:20:39 2004 Subject: [lucs@lucs.net: [pm_groups] Perl Quiz of the Week] Message-ID: <20021027164323.GB30924@energoncube.net> ~sdpm~ In case anyone is interested in sharpening their Perl skills. ----- Forwarded message from Luc St-Louis ----- From: Luc St-Louis To: pm_groups@pm.org Subject: [pm_groups] Perl Quiz of the Week X-BeenThere: pm_groups@pm.org X-Mailman-Version: 2.0.9 List-Help: List-Post: List-Subscribe: , List-Id: Perl Mongers Group Leaders List List-Unsubscribe: , List-Archive: Mark-Jason Dominus posted this announcement on the Fun with Perl mailing list. I thought it might interest PM groups. too: I taught a class in Illinois last week, and one of the students asked if there was a mailing list that would deliver a weekly Perl quiz or programming puzzle. I said I didn't know of one, but that it sounded like a good idea, and that I would set one up when I got back. I am now back. If you want to get the quiz-of-the-week, send a note to perl-qotw-subscribe@plover.com Please feel free to circulate this announcement to appropriate venues. Thanks. _______________________________________________ pm_groups mailing list pm_groups@pm.org http://www.pm.org/mailman/listinfo/pm_groups ----- End forwarded message ----- ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From tkil-sdpm at scrye.com Mon Oct 28 02:23:14 2002 From: tkil-sdpm at scrye.com (Tkil) Date: Thu Aug 5 00:20:40 2004 Subject: Browser connection In-Reply-To: <000301c27ca5$98838780$d6843f42@6540q01> References: <000301c27ca5$98838780$d6843f42@6540q01> Message-ID: ~sdpm~ >>>>> "Joel" == Joel Fentin writes: Joel> Somebody (Tony?) mentioned at the last meeting that it is Joel> possible access a perl program in a browser without needing to Joel> run a personal server. Right now using an Apache server in my Joel> laptop, I put something like the following in the address window Joel> of the browser: http://127.0.0.1/cgi-bin/MyProg.pl Joel> If I am not using the Apache server, how is it done? You basically want to run a simple HTTP server (probably written in perl) that can set up the CGI environment for your script. Basically, you want a replacement for Apache httpd in this case. (Which makes sense; you want a bicycle to get to the corner store, not a tank in which to drive through buildings to get to the corner.) Bob and I were experimenting with one at work, something like "phttpd.pl" -- yeah, google for that. If you can't find it, I can upload the version that I cleaned up a little bit. There's also something in either the libnet bundle and/or the LWP bundle that can do servers fairly gracefully. Note that writing such a beast is pretty easy. If you have a static situation, you don't need configuration parsing nor the flexibility that requires. So, you just set up a listening socket, handle one connection at a time, set up the environment, call the CGI script, and loop. t. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From joe at artlung.com Mon Oct 28 08:32:01 2002 From: joe at artlung.com (Joe Crawford) Date: Thu Aug 5 00:20:40 2004 Subject: Browser connection In-Reply-To: <48EC150CA6E4D311B18600508B95ADF20AE7C73F@mail1-sd.peregrine.com> References: <48EC150CA6E4D311B18600508B95ADF20AE7C73F@mail1-sd.peregrine.com> <002801c27d0e$3e13e2e0$5a833f42@6540q01> Message-ID: <3DBD4A61.8000801@artlung.com> ~sdpm~ Joel Fentin wrote: > >...but doesn't "http://" imply a server on port 80 waiting > >to respond? > > > >But then if it doesn't, then this is the point of the comment. > > > >Interested...ly, > > > If I read between the lines correctly, you are saying I must continue > to use > the Apache server. I seem to remember a Perl interpreter *plugin* for Netscape Navigator which would parse perl files and do what you seem to be asking. Though I had never used it, and this would have been a *long* time ago. Probably when Netscape 3 was new - what, 1997? Just run apache, it's relatively painless. :-) Joe Joe Crawford, web journeyman. San Diego Calif. USA http://artlung.com/ .............||||||||||||||||| latest thought: http://artlung.com/blog/ ............||||||||||||||| san diego web folk: http://websandiego.org/ ...........||||||| san diego bloggers: http://websandiego.org/bloggers/ ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From joel at fentin.com Mon Oct 28 17:01:03 2002 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:40 2004 Subject: Browser connection References: <48EC150CA6E4D311B18600508B95ADF20AE7C73F@mail1-sd.peregrine.com> <002801c27d0e$3e13e2e0$5a833f42@6540q01> <3DBD4A61.8000801@artlung.com> Message-ID: <007401c27ed9$d76ad120$ad843f42@6540q01> ~sdpm~ > Just run apache, it's relatively painless. :-) Yes, that sounds best. I started out under the impression that I could replace something with nothing and get the same results. Now I know that such is not the case. -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com web: http://fentin.com ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human.