From rkleeman at energoncube.net Tue Feb 4 17:47:34 2003 From: rkleeman at energoncube.net (Bob Kleemann) Date: Thu Aug 5 00:20:43 2004 Subject: Meeting This Month Message-ID: <20030204234734.GC16321@energoncube.net> ~sdpm~ We are meeting this month on Feb 18th. It's the day after President's day, so hopefully it will be easy to remember. Just in case I'll send out a reminder on the day of. We still don't have a location for the meeting, so I'm taking ideas. Some possibilities that were floated at the last meeting include the Barnes & Noble on Mira Mesa by the 15, one of a couple of restaurants along Miramar or Mira Mesa, or back to the same spot we were in January. So let me know where you're interested in meeting and I'll get it set up. Also, I'm looking for some way to increase attendance at the meetings. Does anyone have any ideas? Would hosting it at a location that serves food and/or alcohol help bring you to the meetings? How about having some more interesting discussions than "What are the current problems and issues facing the group now?" Perhaps using the group to organize a full project in Perl? Let me know how you think we can create a more active group to learn from and share with. ~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 Tue Feb 4 22:45:13 2003 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:43 2004 Subject: View from the other side Message-ID: <3.0.4.32.20030204204513.007efe80@pop3.nethere.com> ~sdpm~ http://www.unixsucks.com/ -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com biz: http://fentin.com personal: http://fentin.com/me/ ~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 RSuh at aol.com Wed Feb 5 02:35:31 2003 From: RSuh at aol.com (RSuh@aol.com) Date: Thu Aug 5 00:20:43 2004 Subject: Meeting This Month Message-ID: <14c.1b55471e.2b7226d3@aol.com> ~sdpm~ Although Tuesdays are no longer good for me, which is why can not attend, I got quite a lot from the meetings. The purpose of me attending the group was to learn more about Perl , and more efficiebt ways of solving the programming projects. To excellerate my learning, yada yada yada. It has definetly served the purpose. And many many thanks to everyone who helped. I definetly appreciate it. I was also quite curious to know the reasons why some people come to the meetings and why some people don't. Maybe by knowing what you personally want from the group, we can satisfy your self interests. and in return we get exposed to areas of computing we previously didn't know or are not subject to in our day to day lives. At my first meeting I attended , I helped a guest from the University doing dna sequence submissions. By helping him, I learned a lot about xml, html extraction, regular expressions ,interfacing with Microsoft COM components, tons of modules I never knew existed (since I previously didn't have a purpose to use them) , etc. just by attending the meetings , and through participation, we all gain. I wouldn't have gotten anything if the other people didn't share their knowledge and questions. if you got this far, thanks for reading! Haha oh I'm currently interested in distributed computing, clusters, integration of Microsoft technologies with Perl (COM dotNET custom DLLs ActiveX MS Outlook MS Office) palm pilot coding, and enjoy long quite walks on the beach. :) -rob ~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 Wed Feb 5 03:09:21 2003 From: joe at artlung.com (Joe Crawford) Date: Thu Aug 5 00:20:43 2004 Subject: WebSanDiego Link Free For All Message-ID: ~sdpm~ Hello Friends! Yes, time to add your link here: http://www.websandiego.org/links/ Yes, it appears to work. For now. No guarantees. :-) Questions or need to update your entry? Send a note to joe @ artlung.com Enjoy. Joe -- Joe "ArtLung" Crawford San Diego California USA: http://artlung.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 msteele at toppanelectronics.com Wed Feb 5 10:35:19 2003 From: msteele at toppanelectronics.com (Mark Steele) Date: Thu Aug 5 00:20:43 2004 Subject: Meeting This Month Message-ID: ~sdpm~ My vote is for the Mira Mesa location. I have Perl related project that I need help on that we maybe could work on at the meetings. I rent a hosted Linux domain. I want to build a site where visitors can login, enter some personal data through forms, save that data in XML format, have old data accessible to view, be able to chart that XML data with SVG graphs and pie charts, display/report the XNL data and be able to download the data. I want to use Perl of course, the CGI, XML and SVG Perl modules. I have experience with CGI, a little with XML (12 weeks of one evening a week of free classes) and am getting into SVG these last weeks. I've got the Perl/XML book and have ordered the O'Reilly SVG book which has a bit on using Perl with SVG. There is some SVG sites that I'm learning from. Mark ~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 Wed Feb 5 11:29:09 2003 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:43 2004 Subject: increasing attendance References: <20030204234734.GC16321@energoncube.net> Message-ID: <000301c2cd3c$18e221c0$76833f42@6540q01> ~sdpm~ > Also, I'm looking for some way to increase attendance at the meetings. > Does anyone have any ideas? Would hosting it at a location that serves > food and/or alcohol help bring you to the meetings? How about having > some more interesting discussions than "What are the current problems and > issues facing the group now?" Perhaps using the group to organize a > full project in Perl? Let me know how you think we can create a more > active group to learn from and share with. 1. I think we should have more structure than none. We should start on time and have times set aside for certain things we will be doing at every meeting. 2. Somebody should teach a little something at each meeting. This could be something short and simple. For example someone could teach when to use CGI qw/:standard/; and when to use CGI; and why. How to use CGI::Carp qw(carpout fatalsToBrowser);. Someone can present one trick or one troubleshooting method per meeting. Keep it simple and keep it short, but keep it up. This doesn't need more than 5 minutes. However teaching it in Chucky Cheese may prove difficult. At an early meeting I attended, Garrett spent a few minutes talking about data types. He even passed out a sheet with examples. I still have those examples. Another time he talked about the job board he wrote for this group. I learned a lot about connecting to MySQL by looking at his listing. Someone once talked about templates. The idea here is to carve out a place for those at a low proficiency level. Right now the burden is upon the beginner to know what he needs to know. 3. Get the webpage up. It's done and working over at Lamp Host. It has more features than ever including a membership database with biography and photo upload, a job board, links, and perl books. Does anyone know how to do the DNS changes? 4. We can each invite/drive one perl programmer to the meetings. We each know at least one perl programmer who is not attending and doesn't even know what day nor where. We have make it clear to the live-one that there is a space for him/her. That this is not a clique. Once we get that person to the meeting, we should give him a prepared sheet/card about our group. I think we should ask his email address and we should add him to the list server group. In other words, the initiative should be on our part. 5. Experimenting with food and alcohol (as mentioned above) sounds like a good idea. At the VB meetings there are frequently free soft drinks. 6. Employment issues might be on the agenda. The VB group use to devote 2 minutes to permit recruiters to introduce themselves and for those searching for work to stand up and say what they want. I added a job board to the website. It has a place for jobs offered and one for jobs wanted. Potential employers can be notified of its existence. 7. We are not the only ones going through this. For years the VB meetings averaged about 75 people per meeting. There were frequently 10 recruiters looking for programmers to sign up. The last meeting I attended had far fewer attendees and no recruiters. Currently they are doing member outreach and trying to decide if they should fold themselves into the .NET group. Identity crisis. The Macromedia/Dreamweaver seems to have folded. There is supposedly a perl group in Tijuana. When I contacted them, I learned they don't have enough people for a meeting. 8. For ideas you might wander over to the local VB site and look around. It's extensive and might have items worth copying. http://www.sdvbug.org/ 9. If there are local companies selling perl add-ons/add-ins, they can be invited to a meeting to discuss what their product could do for us. 10. Go to the company. The most memorable meeting I went to was when we took the tour of MP3.com. 11. We might want to have informal meetings of the executive committee to discuss items like those raised here. This meeting can be in someone's home. -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com Biz: http://fentin.com Personal: http://fentin.com/me/ ~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 cabney at ucsd.edu Wed Feb 5 16:02:01 2003 From: cabney at ucsd.edu (C. Abney) Date: Thu Aug 5 00:20:44 2004 Subject: Meeting This Month In-Reply-To: References: Message-ID: <1044473925.24779.251.camel@vespa> ~sdpm~ On Wed, 2003-02-05 at 08:35, Mark Steele wrote: > I want to use Perl of course, the CGI, XML and SVG Perl modules. > I have experience with CGI, a little with XML (12 weeks of one > evening a week of free classes) and am getting into SVG these > last weeks. I've got the Perl/XML book and have ordered the > O'Reilly SVG book which has a bit on using Perl with SVG. There > is some SVG sites that I'm learning from. Well I can't attend the meetings (I shuttle to work in La Jolla, live in uptown sd, and am in general a commutophobic passenger-type.) Hmm, I want to know more about SVG, as well, and how I can incorporate it into my web front-ends... Yours, Charles -- Charles Abney Polymorphism Research Laboratory, 0603 UCSD School of Medicine 9500 Gilman Dr. La Jolla, CA 92093-0603 ~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 mattbrown.lists at lamphost.net Fri Feb 7 21:01:35 2003 From: mattbrown.lists at lamphost.net (Matt Brown) Date: Thu Aug 5 00:20:44 2004 Subject: sandiego.pm.org DNS working Message-ID: <3204.64.163.214.200.1044673295.squirrel@webmail.ifyouwantitdoneright.com> ~sdpm~ The DNS changes have been made and http://sandiego.pm.org is now working. Matt Brown ~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 Feb 17 22:27:11 2003 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:44 2004 Subject: SHORT EMAIL FROM JOEL FENTIN Message-ID: <001401c2d706$0214fa20$ac813f42@6540q01> ~sdpm~ I am not at home. I presume the meeting is tomorrow. Address please. -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com Biz: http://fentin.com Personal: http://fentin.com/me/ ~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 Feb 18 11:39:19 2003 From: rkleeman at energoncube.net (Bob Kleemann) Date: Thu Aug 5 00:20:44 2004 Subject: Meeting Tuesday In-Reply-To: <001401c2d706$0214fa20$ac813f42@6540q01> References: <001401c2d706$0214fa20$ac813f42@6540q01> Message-ID: <20030218173919.GB23506@energoncube.net> ~sdpm~ On Mon, Feb 17, 2003 at 08:27:11PM -0800, Joel Fentin wrote: > ~sdpm~ > I am not at home. I presume the meeting is tomorrow. Address please. > ~sdpm~ Yup. Tuesday evening I hope to see most of you at the Barnes & Noble at Mira Mesa Blvd and the I-15. 10775 Westview Parkway, San Diego, CA 92126. Meet the rest of us at 7PM in the coffee shop. We'll talk about the next meeting location, Perl, bookstores, and other things. We'll also make plans for the first of what will hopefully be the series of many of tech subjects. Additionally, I'd like to make some plans for a social gathering. Bring your ideas, questions, comments, and everything else and we'll talk about it then. ~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 Wed Feb 19 13:10:51 2003 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:44 2004 Subject: System Message-ID: <000801c2d84a$9fd7e160$19833f42@6540q01> ~sdpm~ I am trying to spawn and return using windows me & apache. What follows are examples that don't work. $A = `http://127.0.0.1/cgi-bin/x.pl`; system "http://127.0.0.1/cgi-bin/x.pl"; system("http://127.0.0.1/cgi-bin/x.pl"); The following works, but doesn't return when done. use CGI;my $co = new CGI;print $co->redirect('./x.pl'); Suggestions please. -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com Biz: http://fentin.com Personal: http://fentin.com/me/ ~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 rkleemann at musicmatch.com Wed Feb 19 13:36:06 2003 From: rkleemann at musicmatch.com (Robert Kleemann) Date: Thu Aug 5 00:20:44 2004 Subject: System Message-ID: <8F015E4D786CD411912200D0B746EB9103DA01C2@pobox.offix.musicmatch.com> ~sdpm~ What are you trying to do? Do you want your script to make a reqeust to http://127.0.0.1/cgi-bin/x.pl, retrieve the results, and use the results for something? If so, you want LWP. system, backticks, and other perl builtins only execute programs on the *local* machine, not across a network. > -----Original Message----- > From: Joel Fentin [mailto:joel@fentin.com] > Sent: Wednesday, February 19, 2003 11:11 AM > To: SD Perl Mongers > Subject: System > > > ~sdpm~ > I am trying to spawn and return using windows me & apache. > What follows are > examples > that don't work. > > $A = `http://127.0.0.1/cgi-bin/x.pl`; > system "http://127.0.0.1/cgi-bin/x.pl"; > system("http://127.0.0.1/cgi-bin/x.pl"); > > The following works, but doesn't return when done. > > use CGI;my $co = new CGI;print $co->redirect('./x.pl'); > > Suggestions please. > -- > Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 > email: joel@fentin.com > Biz: http://fentin.com > Personal: http://fentin.com/me/ > > > ~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. > This email message and any attachments are for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient or his/her representative, please contact the sender by reply email and destroy all copies of the original 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 menolly at mib.org Wed Feb 19 14:13:11 2003 From: menolly at mib.org (Menolly) Date: Thu Aug 5 00:20:44 2004 Subject: System In-Reply-To: <8F015E4D786CD411912200D0B746EB9103DA01C2@pobox.offix.musicmatch.com> Message-ID: ~sdpm~ Of course, 127.0.0.1 _is_ the local machine, but for those methods to work, you'd have to call the script as you would on the command line. (with a full or relative path as appropriate.) On Wed, 19 Feb 2003, Robert Kleemann wrote: > ~sdpm~ > What are you trying to do? Do you want your script to make a reqeust to > http://127.0.0.1/cgi-bin/x.pl, retrieve the results, and use the results for > something? If so, you want LWP. system, backticks, and other perl builtins > only execute programs on the *local* machine, not across a network. > > > -----Original Message----- > > From: Joel Fentin [mailto:joel@fentin.com] > > Sent: Wednesday, February 19, 2003 11:11 AM > > To: SD Perl Mongers > > Subject: System > > > > > > ~sdpm~ > > I am trying to spawn and return using windows me & apache. > > What follows are > > examples > > that don't work. > > > > $A = `http://127.0.0.1/cgi-bin/x.pl`; > > system "http://127.0.0.1/cgi-bin/x.pl"; > > system("http://127.0.0.1/cgi-bin/x.pl"); > > > > The following works, but doesn't return when done. > > > > use CGI;my $co = new CGI;print $co->redirect('./x.pl'); > > > > Suggestions please. > > -- > > Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 > > email: joel@fentin.com > > Biz: http://fentin.com > > Personal: http://fentin.com/me/ > > > > > > ~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. > > > This email message and any attachments are for the sole use of the intended > recipient(s) and may contain confidential and privileged information. Any > unauthorized review, use, disclosure or distribution is prohibited. If you > are not the intended recipient or his/her representative, please contact the > sender by reply email and destroy all copies of the original 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. > -- )\._.,--....,'``. | 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 Wed Feb 19 14:35:55 2003 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:44 2004 Subject: System References: Message-ID: <001501c2d856$80dab880$6d853f42@6540q01> ~sdpm~ > Of course, 127.0.0.1 _is_ the local machine, but for those methods to > work, you'd have to call the script as you would on the command line. > (with a full or relative path as appropriate.) > I wouldn't call the script from the command line. I would call it from the address line of the browser. -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com Biz: http://fentin.com Personal: http://fentin.com/me/ ~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 Wed Feb 19 14:37:59 2003 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:44 2004 Subject: System References: Message-ID: <001a01c2d856$cad774a0$6d853f42@6540q01> ~sdpm~ > What are you trying to do? Do you want your script to make a reqeust to > http://127.0.0.1/cgi-bin/x.pl, retrieve the results, and use the results for > something? If so, you want LWP. system, backticks, and other perl builtins > only execute programs on the *local* machine, not across a network. I want it to execute x.pl and return to the calling script passing no values. -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com Biz: http://fentin.com Personal: http://fentin.com/me/ ~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 chris_radcliff at mac.com Wed Feb 19 14:56:38 2003 From: chris_radcliff at mac.com (Chris Radcliff) Date: Thu Aug 5 00:20:44 2004 Subject: System In-Reply-To: <001a01c2d856$cad774a0$6d853f42@6540q01> Message-ID: ~sdpm~ Joel, When making a system() call (or similar), you need to specify the filename to execute, not a URL. A URL like http://127.0.0.1/cgi-bin/x.pl is for network access, but it gets translated by Apache into a system filename like /www/mysite/cgi-bin/x.pl, where /www/mysite/cgi-bin is set as an "Alias" to http://127.0.0.1/cgi-bin. It's the latter you want to use from your system() call. So, if x.pl is found there, a system() call would look like this: system("/www/mysite/cgi-bin/x.pl"); Note that there are lots of other caveats to using system() in this manner, but you can cross those bridges when you come to them. Cheers, ~chris On Wednesday, February 19, 2003, at 12:37 PM, Joel Fentin wrote: > I want it to execute x.pl and return to the calling script passing no > values. > ~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 Wed Feb 19 22:32:41 2003 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:44 2004 Subject: System References: Message-ID: <000001c2d89c$1ffd7fc0$4a833f42@6540q01> ~sdpm~ > When making a system() call (or similar), you need to specify the > filename to execute, not a URL. A URL like > http://127.0.0.1/cgi-bin/x.pl is for network access, but it gets > translated by Apache into a system filename like > /www/mysite/cgi-bin/x.pl, where /www/mysite/cgi-bin is set as an > "Alias" to http://127.0.0.1/cgi-bin. > > It's the latter you want to use from your system() call. So, if x.pl is > found there, a system() call would look like this: > > system("/www/mysite/cgi-bin/x.pl"); Chris, Thank you for getting back to me. I may understand a percentage of what you are saying. But I don't think I "get it". If you are saying I need a file name, I tried c: [etc.] instead of http:. It didn't help. I also tried relative addressing. The other thing you might be saying is that I need to add an alias to apache. Something like: ScriptAlias /cgi-bin/ "C:/.......etc. There is already one of those in there: ScriptAlias /cgi-bin/ "C:/Apache/cgi-bin/" Thus I tried: system('/cgi-bin/x.pl '); It didn't work. If you are not saying either of those, then I don't get any of your message. -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com Biz: http://fentin.com Personal: http://fentin.com/me/ ~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 Feb 20 02:16:12 2003 From: tkil-sdpm at scrye.com (Tkil) Date: Thu Aug 5 00:20:44 2004 Subject: perl, cgi, win32, oh my! (was: Re: System) In-Reply-To: <000001c2d89c$1ffd7fc0$4a833f42@6540q01> References: <000001c2d89c$1ffd7fc0$4a833f42@6540q01> Message-ID: ~sdpm~ Joel -- First off, let me make sure that I fully understand what you are trying to accomplish When you open up Internet Explorer, or Windows Explorer, you go to the address bar and type in: http://127.0.0.1/cgi-bin/x.pl When you press enter, it either provides you with the output that you are looking for, or it causes some other change in state on the server. Ok so far? The quick way to do exactly the same thing in perl -- presuming you have libwww-perl ("LWP") installed -- is: use LWP::Simple qw( get ); get "http://127.0.0.1/cgi-bin/x.pl"; The slightly less quick way is to build the connection yourself; using IO::Socket::INET, it's pretty easy: my $sock = IO::Socket::INET->new( PeerHost => '127.0.0.1', PeerPort => 80 ); my $CRLF = "\x0d\x0a"; # HTTP standard EOL marker print $sock "GET /cgi-bin/x.pl HTTP/1.0", $CRLF, $CRLF; my $response = do { local $/; <$sock> }; $response =~ s/$CRLF/\n/g; my ( $header, $body ) = split /\n\n/, $response, 2; This should work as-is, assuming that $sock is flushed when we wait for input on it -- this is usually the case, but if it's not, you'll have to jump through some hoops, something like: { my $old_fh = select $sock; $| = 1; select $old_fh; } Although, if IO::Socket::INET inherits from Handle, you should be able to just do: $sock->autoflush(1); (Doing this with raw socket() calls is left as an exercise to the reader.) As various people have pointed out, 127.0.0.1 is the IP "loopback" address, also known as "localhost". Since you're using the "http" scheme in your URL, you're asking Explorer to connect to that host on the standard HTTP port 80. Since this works on your local machine, we can surmise that you are running a web server of some sort on this machine. When your web server receives this request, it has to figure out what to do with it. It does this by taking apart the URL that is passed to it; in this case, it sees: scheme: http host: 127.0.0.1 path: /cgi-bin/x.pl This is where the configuration of your web server can vary. Most web servers are configured to have "/cgi-bin/" map to a particular directory on the server's disk, and it knows that it should execute any script in that directory. Before it executes a given script, however, it sets up the "Common Gateway Interface" environment, better known as CGI. This is mostly a matter of setting the appropriate environment variable values, and perhaps modifying the user and group ID settings (probably less relevant on your win32 system than on unix). I'm assuming that x.pl is a straightforward CGI-compliant script. (If it's not, there's no real point in calling it through the web server, as it *should* get confused. If it *doesn't* get confused, then you're getting very very lucky.) Here's what Chris was trying to say (I think): x.pl is executed *by the web server* in response to an HTTP request. So, when you typed http://127.0.0.1/cgi-bin/x.pl in the address bar, the flow of control went something like this: Explorer: open a connection to 127.0.0.1:80 HTTPD: hi there! listening on port 80! [*] Explorer: GET /cgi-bin/x.pl HTTP/1.0 HTTPD: hrm... /cgi-bin/ is my ScriptAlias directory. does x.pl exist? good! is x.pl executable? good! ok, need to set up some environment... REMOTE_HOST=127.0.0.1 QUERY_STRING="" REMOTE_USER="" ... alright, time to run the script... x.pl: i'm awake! ok, stuff to do, stuff to do. do some stuff. i'm done! here's my output, mr. httpd. HTTPD: cool, thanks. now go away. hey, Explorer, here's your data. Explorer: thanks. bye! [*] http servers only *listen* on port 80; when they "accept" a connection, that connection actually has an "ephemeral port" as it's local endpoint (something random, typically over 10000). This way, port 80 is kept available for incoming connections. The other half of what Chris was trying to convey is that, since this is on the same machine, you can cut Explorer and HTTPD out of the loop by calling x.pl directly. This is where understanding the server configuration becomes important. Let's assume that you're using Apache HTTPD for Win32. Let's further assume you're using the default configuration, where "/cgi-bin/" is mapped to "C:\Program Files\Apache Group\Apache\cgi-bin\", via the use of a ScriptAlias directive in the standard configuration files (by default, "C:\Program Files\Apache Group\Apache\conf\httpd.conf"). Following the above execution outline, apache httpd will get the request to run /cgi-bin/x.pl, set up an execution environment, then execute C:\Program Files\Apache Group\Apache\cgi-bin\x.pl Then it takes the output and returns it as the content of the HTTP response. (Unless something bad happens, in which case it will probably form a 500 header and some boilerplate body.) Finally, Chris's ultimate point was that, since it's on the same machine, you could just invoke x.pl directly, instead of making this "side trip" through the http server. If x.pl doesn't use the CGI environment at all, and doesn't produce any useful output, you can indeed use a "naked" system() invocation: my $cgi_bin_dir = "C:/Program Files/Apache Group/Apache/cgi-bin/" system( "$cgi_bin_dir/x.pl" ); (Yes, you *can* use forward slashes -- the win32 api supports them natively; it's only command.com / cmd.exe that interprets forward slashes as option specifiers.) If x.pl *does* produce useful output, you will want to capture that, presumably with backticks or qx: my $x_pl_output = qx( $cgi_bin_dir/x.pl ); If it uses the CGI environment, you have to set that up yourself: my $x_pl_output = do { local %ENV = %ENV; $ENV{QUERY_STRING} = "foo=bar&quux=baz%20gibber"; qx( $cgi_bin_dir/x.pl ); } Finally, if you are doing x.pl and this script on the same machine, consider whether you can factor out the common functionality into a library, and just call directly into that library from perl. This removes the inefficiency of starting a new process entirely! 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 tkil-sdpm at scrye.com Thu Feb 20 02:21:10 2003 From: tkil-sdpm at scrye.com (Tkil) Date: Thu Aug 5 00:20:44 2004 Subject: perl, cgi, win32, oh my! (was: Re: System) In-Reply-To: References: <000001c2d89c$1ffd7fc0$4a833f42@6540q01> Message-ID: <15956.36854.676413.359351@brand.scrye.com> ~sdpm~ >>>>> "Tkil" == tkil-sdpm writes: Tkil> [*] http servers only *listen* on port 80; when they "accept" a Tkil> connection, that connection actually has an "ephemeral port" as Tkil> it's local endpoint (something random, typically over 10000). ^^^^ "its", of course. Stay tuned for more adventures in drunken free tech support! 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 joel at fentin.com Thu Feb 20 10:07:42 2003 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:44 2004 Subject: system Message-ID: <000801c2d8fa$5dd8ad20$1f833f42@6540q01> ~sdpm~ The following is a program called form3.pl. I uncommented the lines one by one and ran it from the dos command line. None works. However, some simply ignore the system command. Others say "Bad command or file name". form4.pl contains a print statement and a die command. print 'form3'; #system('c:apache\cgi-bin\form4.pl'); #error #system('c:\apache\cgi-bin\form4.pl');#error #system('form4.pl'); #error #system('./form4.pl'); #error #system ('c:apache/cgi-bin/form4.pl'); #error #system('c:/apache/cgi-bin/form4.pl');#wont bomb #system 'c:/apache/cgi-bin/form4.pl'; #wont bomb #system `c:/apache/cgi-bin/form4.pl`; #wont bomb #system (`c:/apache/cgi-bin/form4.pl`);#wont bomb -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com Biz: http://fentin.com Personal: http://fentin.com/me/ ~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 Feb 20 10:24:15 2003 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:44 2004 Subject: perl, cgi, win32, oh my! (was: Re: System) References: <000001c2d89c$1ffd7fc0$4a833f42@6540q01> Message-ID: <002f01c2d8fc$830fbc80$1f833f42@6540q01> ~sdpm~ > First off, let me make sure that I fully understand what you are > trying to accomplish 1. I am attempting to debug and modify a program written by someone else for whom I am doing a job. Thus I do not have the luxury of a work-around. 2. The goal: The first perl program runs the second perl program and then returns to finish running the first program. No values are passed. 3. Server issues are red herrings. I can't get it run on the dos command line. -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com Biz: http://fentin.com Personal: http://fentin.com/me/ ~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 Feb 20 10:56:41 2003 From: tkil-sdpm at scrye.com (Tkil) Date: Thu Aug 5 00:20:44 2004 Subject: system In-Reply-To: <000801c2d8fa$5dd8ad20$1f833f42@6540q01> References: <000801c2d8fa$5dd8ad20$1f833f42@6540q01> Message-ID: ~sdpm~ >>>>> "Joel" == Joel Fentin writes: Joel> print 'form3'; Joel> #system('c:apache\cgi-bin\form4.pl'); #error Joel> #system('c:\apache\cgi-bin\form4.pl');#error Joel> #system('form4.pl'); #error Joel> #system('./form4.pl'); #error Joel> #system ('c:apache/cgi-bin/form4.pl'); #error Joel> #system('c:/apache/cgi-bin/form4.pl');#wont bomb Joel> #system 'c:/apache/cgi-bin/form4.pl'; #wont bomb Joel> #system `c:/apache/cgi-bin/form4.pl`; #wont bomb Joel> #system (`c:/apache/cgi-bin/form4.pl`);#wont bomb How about: system "c:/perl/bin/perl.exe c:/apache/cgi-bin/form4.pl"; (put in the correct path to your perl executable, of course.) Or maybe even system "c:\\windows\\command.com /c c:\\apache\\cgi-bin\\form4.pl"; Remember that win32 doesn't understand (let alone honor) the "#!" line, and that the association of "open .pl files with perl" may not be handled in the system itself (rather, it's handled by the shell); that's the theory behind getting the first one to work. If the second one works, it's because command.com might understand the association of file types, and correctly invoke perl for it. If neither works, the next thing to ask is: which perl are you using (ActiveState, CygWin, or other?), and where is it installed, and how the heck are you getting form3.pl to run when form4.pl is being so obstinate? :) 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 joel at fentin.com Thu Feb 20 13:28:01 2003 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:44 2004 Subject: system: THERE WILL BE DANCING IN THE STREETS References: <000801c2d8fa$5dd8ad20$1f833f42@6540q01> Message-ID: <004101c2d916$2f706c40$0c843f42@6540q01> ~sdpm~ > How about: > > system "c:/perl/bin/perl.exe c:/apache/cgi-bin/form4.pl"; That didn't work even though the path to perl is correct. However, it got me experimenting in a new direction. This worked: system "perl c:/apache/cgi-bin/form4.pl"; Thank you so much. -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com Biz: http://fentin.com Personal: http://fentin.com/me/ ~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 Tue Feb 25 18:02:42 2003 From: joel at fentin.com (Joel Fentin) Date: Thu Aug 5 00:20:44 2004 Subject: Members Message-ID: <002001c2dd2a$62e90b00$1f833f42@6540q01> ~sdpm~ Our group now has (count them) two members as seen on the website. Do I hear three? Do we have a meeting location for next month? -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@fentin.com Biz: http://fentin.com Personal: http://fentin.com/me/ ~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 rlssdpm at schnapp.org Tue Feb 25 18:13:46 2003 From: rlssdpm at schnapp.org (Russ Schnapp) Date: Thu Aug 5 00:20:44 2004 Subject: Members References: <002001c2dd2a$62e90b00$1f833f42@6540q01> Message-ID: <3E5C06BA.2010209@schnapp.org> ~sdpm~ On 2/25/2003 4:02 PM, Joel Fentin wrote: > ~sdpm~ > Our group now has (count them) two members as seen on the website. Do I hear > three? I'm still lurking, for what *that* is worth... ~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.