From dmiles at primenet.com Tue Apr 13 13:12:18 1999 From: dmiles at primenet.com (Doug and Julie Miles) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Meeting 04/15/1999 Message-ID: <3.0.3.32.19990413111218.0094e910@pop.primenet.com> We'll be having a Phoenix.pm meeting Thursday April 15th at 7:00PM. It will be held at the MAC America Building. It is located at 5555 North 7th Avenue, which is about half a block north of Missouri (Between Bethany Home Rd. and Camelback W. of I17) on 7th Ave (East side of the street). Park in the big front lot. The lobby door will be locked, but someone will be there from 6:50 to 7:10 to let people in. Please be prompt, as once the meeting starts, there will be no one to let anyone in. I will be giving an introduction to Perl/TK which will also touch briefly on Perl object oriented programming. See you there! Doug and Julie Miles From dmiles at primenet.com Fri Apr 16 13:53:52 1999 From: dmiles at primenet.com (Doug and Julie Miles) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Web site v.000000001 Message-ID: <3.0.3.32.19990416115352.00901a90@pop.primenet.com> I have the hacked web page up now. Here's the URL: http://phoenix.pm.org/phoenix.html Have at it! I think that we'll probably need a web page pumpking* to keep the changes organized. * Chip Salzenberg gets credit for that, with a nod to his coworker, David Croy. We had passed around various names (baton, token, hot potato) but none caught on. Then, Chip asked: [begin quote] Who has the patch pumpkin? To explain: David Croy once told me once that at a previous job, there was one tape drive and multiple systems that used it for backups. But instead of some high-tech exclusion software, they used a low-tech method to prevent multiple simultaneous backups: a stuffed pumpkin. No one was allowed to make backups unless they had the ``backup pumpkin''. [end quote] The name has stuck. The holder of the pumpkin is sometimes called the pumpking. Quoted from the perlhist document. Doug and Julie Miles From dmiles at primenet.com Fri Apr 16 14:19:13 1999 From: dmiles at primenet.com (Doug and Julie Miles) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Web site ideas Message-ID: <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> I just put out a file of ideas from previous meetings: http://phoenix.pm.org/ideas.txt I'll volunteer to be the Web Site Idea Pumpking. Just post your ideas to the list, and I'll keep that file updated. Whether or not the ideas get implemented depends on what we agree on. P.S. We had a great meeting last night. We even talked about Perl a little. ;) Doug and Julie Miles From derek at dc-design.com Fri Apr 16 14:46:17 1999 From: derek at dc-design.com (Derek Cline) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Web site ideas In-Reply-To: <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> References: <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> Message-ID: >I just put out a file of ideas from previous meetings: > >http://phoenix.pm.org/ideas.txt Those ideas look great. I will see if I can start messing around with a decent design that we can use as a template for site navigation and content. The Omaha.pm group has some funny stuff up, such as the following swearing in ceremony: >------------------------------ >Swearing In Ceremony >Here is a sample ceremony involving a new initiate >named "John Doe": > >Please place your left hand on the Blue Camel, raise your right >hand, and repeat after me: > >"I, (state your name)," > "I, John Doe," >"Believe that Perl is as Perl does," > "Believe that Perl is as Perl does," >"So I will try to do more stuff with it." > "So I will try to do more stuff with it." >"So help me Larry." > "So help me Larry." >"You are hereby dubbed $monger{Omaha}[n]," (stating the index 'n') >"or just 'Number n', for short." (re-affirming the index 'n' ) >"push @{ $monger{Omaha} }, "John Doe";" (assigning the index 'n') > >This last line is pronounced : >'push to HoA monger Omaha, "John Doe".' The 'HoA' rhymes with >'Boa' ... as in 'constrictor'. > >With that, the formal ceremony is complete. The initiate now enjoys >all of the benefits, rights, and privileges of full membership >(whatever those may be ... I haven't noticed any). >--------------------------------- >P.S. We had a great meeting last night. We even talked about Perl a >little. ;) He he, yeah, sure, whatever. :) What kind of group is this anyway? ;) I do want to thank Doug for putting together some great examples of using Tk that I had not yet seen before. Is there a topic decided for the next meeting? Two things that I think would be interesting is an in depth intro to Object Oriented Perl (almost like a verbal version of perltoot... depending on the knowledge base of those who are plan on attending the next meeting) or different types of database access with Perl. Derek Cline derek@dc-design.com http://www.dc-design.com From bryan.lane at rez.com Fri Apr 16 15:02:35 1999 From: bryan.lane at rez.com (Lane, Bryan) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Web site ideas Message-ID: Sounds good. How about an archive of the great Perl solutions we come up with? Not to be confused with the group's private software repository. Bryan > -----Original Message----- > From: Doug and Julie Miles [mailto:dmiles@primenet.com] > Sent: Friday, April 16, 1999 12:19 PM > To: phoenix-pm-list@happyfunball.pm.org > Subject: Phoenix.pm: Web site ideas > > > I just put out a file of ideas from previous meetings: > > http://phoenix.pm.org/ideas.txt > > I'll volunteer to be the Web Site Idea Pumpking. Just post > your ideas to > the list, and I'll keep that file updated. Whether or not > the ideas get > implemented depends on what we agree on. > > P.S. We had a great meeting last night. We even talked about Perl a > little. ;) > > Doug and Julie Miles > From coyotl at primenet.com Fri Apr 16 15:47:31 1999 From: coyotl at primenet.com (Glen G. Walker) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Web site ideas In-Reply-To: <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> Message-ID: Hey, that Graphic Artist is looking at the stuff we have and at the www,pm.org site and brainstorming... On Fri, 16 Apr 1999, Doug and Julie Miles wrote: > I just put out a file of ideas from previous meetings: > > http://phoenix.pm.org/ideas.txt > > I'll volunteer to be the Web Site Idea Pumpking. Just post your ideas to > the list, and I'll keep that file updated. Whether or not the ideas get > implemented depends on what we agree on. > > P.S. We had a great meeting last night. We even talked about Perl a > little. ;) > > Doug and Julie Miles > ------------------------------------------------------------------------------- Glen G. Walker, coyotl@primenet.com www.primenet.com/~coyotl ------------------------------------------------------------------------------- From dmiles at primenet.com Fri Apr 16 18:51:41 1999 From: dmiles at primenet.com (Doug and Julie Miles) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Web site ideas In-Reply-To: References: <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> Message-ID: <3.0.3.32.19990416165141.0092b9d0@pop.primenet.com> At 12:46 PM 4/16/99 -0700, you wrote: >The Omaha.pm group has some funny stuff up, such as the following >swearing in ceremony: >>------------------------------ >>Swearing In Ceremony >>Here is a sample ceremony involving a new initiate >>named "John Doe": >> >>Please place your left hand on the Blue Camel, raise your right >>hand, and repeat after me: >> >>"I, (state your name)," >> "I, John Doe," >>"Believe that Perl is as Perl does," >> "Believe that Perl is as Perl does," >>"So I will try to do more stuff with it." >> "So I will try to do more stuff with it." >>"So help me Larry." >> "So help me Larry." >>"You are hereby dubbed $monger{Omaha}[n]," (stating the index 'n') >>"or just 'Number n', for short." (re-affirming the index 'n' ) >>"push @{ $monger{Omaha} }, "John Doe";" (assigning the index 'n') >> >>This last line is pronounced : >>'push to HoA monger Omaha, "John Doe".' The 'HoA' rhymes with >>'Boa' ... as in 'constrictor'. >> >>With that, the formal ceremony is complete. The initiate now enjoys >>all of the benefits, rights, and privileges of full membership >>(whatever those may be ... I haven't noticed any). >>--------------------------------- This is great! I might have to ask if we can steal this. :) >Is there a topic decided for the next meeting? Two things that I >think would be interesting is an in depth intro to Object Oriented >Perl (almost like a verbal version of perltoot... depending on the >knowledge base of those who are plan on attending the next meeting) >or different types of database access with Perl. So noted. Any volunteers? Doug and Julie Miles From Beaves at aol.com Fri Apr 16 22:22:03 1999 From: Beaves at aol.com (Beaves@aol.com) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Perl OOP Message-ID: <24b56a99.2449585b@aol.com> I have started to dive into OOP and have started to design a few modules. It would be very interesting for me to chat with others who have dabbled in OOP with Perl and who most assuredly have more knowledbe base than I do. I have two modules that I am currently working on... LH, which stands for ListHash. I have often come across situations where you want data to behave like a list, but yet also have some of the characteristics of a hash. Its a pretty simple module/object, but it may be a good place to discuss design and scope of an object, something I have probably been bastardizing all along. If you would like a TXT file of the code, e-mail me. LH allows stuff like: # 'tis but a sample $lh = LH->new('A', 'B', 'C', 'B'); if ($lh->exists('B')) # does 'B' exist in this list $num_Bs = $lh->num('B'); # $num_Bs is 2 $lh->insert_after('C', 'CC') # $lh->list is now 'A', 'B', 'C', 'CC', 'B'); Comment are welcome and appreciated. The other is more boring, but I call it 'Atts'. It's sole purpose is to spit out a list of 'legal' attributes for a given HTML tag. Sounds simple enough, but I have been tinkering with the best interface to allow modification of the attribute list, as well as attempts to make the program more efficient. (That may be another topic for the Phoenix.pm group on another day). I have found a need for this in my current project of a database Table maker. I'm still working on 'Atts', so I don't want it released just yet. If anyone has questions about either project, then please feel free to contact me. Tim Beavers Former greenskeeper turned pro... From mekla at geocities.com Fri Apr 16 23:07:29 1999 From: mekla at geocities.com (Mekla) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Web site ideas In-Reply-To: Message-ID: <199904170413.VAA28370@avocet.prod.itd.earthlink.net> >Sounds good. How about an archive of the great Perl solutions >we come up with? Not to be confused with the group's private >software repository. This actually sounds like a good idea. Not only solutions we come up with, but good solutions you find somewhere like on newsgroups. I can think of one off the top of my head that has been invaluable to me: @array = sort grep((! $Seen{$_}++), @array); This sorts an array into unique elements. A great one liner. Shay From mekla at geocities.com Fri Apr 16 23:10:27 1999 From: mekla at geocities.com (Mekla) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Web site ideas In-Reply-To: <3.0.3.32.19990416165141.0092b9d0@pop.primenet.com> References: <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> Message-ID: <199904170416.VAA01564@avocet.prod.itd.earthlink.net> >>Is there a topic decided for the next meeting? Two things that I >>think would be interesting is an in depth intro to Object Oriented >>Perl (almost like a verbal version of perltoot... depending on the >>knowledge base of those who are plan on attending the next meeting) >>or different types of database access with Perl. > >So noted. Any volunteers? When is the next meeting? I'd like to discuss OOP. I do mostly OOP stuff not only in Perl, but C++ and PHP3. I'm always messing with classes in PHP3 and C++ and doing different modules in Perl. Mostly stuff for work lately unfortunately. Shay From mekla at geocities.com Fri Apr 16 23:18:33 1999 From: mekla at geocities.com (Mekla) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Perl OOP In-Reply-To: <24b56a99.2449585b@aol.com> Message-ID: <199904170424.VAA09631@avocet.prod.itd.earthlink.net> >LH, which stands for ListHash. I have often come across situations where you >want data to behave like a list, but yet also have some of the >characteristics of a hash. Its a pretty simple module/object, but it may be >a good place to discuss design and scope of an object, something I have >probably been bastardizing all along. If you would like a TXT file of the >code, e-mail me. >LH allows stuff like: # 'tis but a sample >$lh = LH->new('A', 'B', 'C', 'B'); >if ($lh->exists('B')) # does 'B' exist in this list >$num_Bs = $lh->num('B'); # $num_Bs is 2 >$lh->insert_after('C', 'CC') # $lh->list is now 'A', 'B', 'C', 'CC', 'B'); > >Comment are welcome and appreciated. I'd like to see the code if you can e-mail it to me at mekla@geocities.com. Does this just use an array or a hash to create the list. Looks like you don't keep multiples of any given value in the list but keep a running total of the value? Is this correct? Can I use insert_after to insert an array after a given value? For instance if I have a list: (A,B,C,D) could I insert like such: $lh->insert_after('C',@array) ?? This would be like a push or a splice. I did something like this for PHP3. I basically took a whole bunch of Perl functions and ported them to PHP3 and use that library so I have shift, unshift, pop, push, etc as PHP3 functions now :) I can see a lot of use for a module such as this especially if you want to keep a running total of a lot of different things and be able to re-access them easily. With this module you could create trees since they are nothing more than a bunch of lists really. Just like a list is nothing more than a bunch of nodes and a forest a bunch of trees, etc. Shay From dmiles at primenet.com Sat Apr 17 12:14:39 1999 From: dmiles at primenet.com (Doug and Julie Miles) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Web site ideas In-Reply-To: <199904170416.VAA01564@avocet.prod.itd.earthlink.net> References: <3.0.3.32.19990416165141.0092b9d0@pop.primenet.com> <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> Message-ID: <3.0.3.32.19990417101439.0096f480@pop.primenet.com> At 09:10 PM 4/16/99 -0700, you wrote: >>>Is there a topic decided for the next meeting? Two things that I >>>think would be interesting is an in depth intro to Object Oriented >>>Perl (almost like a verbal version of perltoot... depending on the >>>knowledge base of those who are plan on attending the next meeting) >>>or different types of database access with Perl. >> >>So noted. Any volunteers? > >When is the next meeting? I'd like to discuss OOP. I do mostly OOP stuff >not only in Perl, but C++ and PHP3. I'm always messing with classes in PHP3 >and C++ and doing different modules in Perl. Mostly stuff for work lately >unfortunately. How does the 29th sound? Glen will the 29th work? Does this mean you'll be presenting? Thanks. Doug and Julie Miles From mekla at geocities.com Sat Apr 17 20:57:46 1999 From: mekla at geocities.com (Mekla) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Web site ideas In-Reply-To: <3.0.3.32.19990417101439.0096f480@pop.primenet.com> References: <199904170416.VAA01564@avocet.prod.itd.earthlink.net> <3.0.3.32.19990416165141.0092b9d0@pop.primenet.com> <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> Message-ID: <199904180204.TAA25324@snipe.prod.itd.earthlink.net> >>When is the next meeting? I'd like to discuss OOP. I do mostly OOP stuff >>not only in Perl, but C++ and PHP3. I'm always messing with classes in PHP3 >>and C++ and doing different modules in Perl. Mostly stuff for work lately >>unfortunately. > >How does the 29th sound? > >Glen will the 29th work? > >Does this mean you'll be presenting? Thanks. Presenting?!? I'll see if I can come up with anything useful for OOP. Might want to have something other than this as a backup in case I can't make it for some reason. Shay From dmiles at primenet.com Sun Apr 18 00:42:48 1999 From: dmiles at primenet.com (Doug and Julie Miles) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Web site ideas In-Reply-To: <199904180204.TAA25324@snipe.prod.itd.earthlink.net> References: <3.0.3.32.19990417101439.0096f480@pop.primenet.com> <199904170416.VAA01564@avocet.prod.itd.earthlink.net> <3.0.3.32.19990416165141.0092b9d0@pop.primenet.com> <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> Message-ID: <3.0.3.32.19990417224248.00923850@pop.primenet.com> At 06:57 PM 4/17/99 -0700, you wrote: >>>When is the next meeting? I'd like to discuss OOP. I do mostly OOP stuff >>>not only in Perl, but C++ and PHP3. I'm always messing with classes in PHP3 >>>and C++ and doing different modules in Perl. Mostly stuff for work lately >>>unfortunately. >> >>How does the 29th sound? >> >>Glen will the 29th work? >> >>Does this mean you'll be presenting? Thanks. > >Presenting?!? I'll see if I can come up with anything useful for OOP. Might >want to have something other than this as a backup in case I can't make it >for some reason. You could talk about modules if you'd rather. I think you said that you had done a few. Most everyone (including me) that I have talked to haven't rolled their own, but want to know how. Let me know. Thanks. If you don't show up, maybe Glen could talk about JAVA. :) Doug and Julie Miles From mekla at geocities.com Sun Apr 18 13:47:17 1999 From: mekla at geocities.com (Mekla) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Web site ideas In-Reply-To: <3.0.3.32.19990417224248.00923850@pop.primenet.com> References: <199904180204.TAA25324@snipe.prod.itd.earthlink.net> <3.0.3.32.19990417101439.0096f480@pop.primenet.com> <199904170416.VAA01564@avocet.prod.itd.earthlink.net> <3.0.3.32.19990416165141.0092b9d0@pop.primenet.com> <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> Message-ID: <199904181853.LAA12283@goose.prod.itd.earthlink.net> >>Presenting?!? I'll see if I can come up with anything useful for OOP. Might >>want to have something other than this as a backup in case I can't make it >>for some reason. > >You could talk about modules if you'd rather. I think you said that you >had done a few. Most everyone (including me) that I have talked to haven't >rolled their own, but want to know how. Let me know. Thanks. If you >don't show up, maybe Glen could talk about JAVA. :) > >Doug and Julie Miles > I've been working on an HTML parser. It's basic right now but maybe I can implement all the stuff I've been thinking of before then. I have about 2 weeks so it shouldn't be a problem. Shay From dmiles at primenet.com Sun Apr 18 18:15:48 1999 From: dmiles at primenet.com (Doug and Julie Miles) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Web site ideas In-Reply-To: <199904181853.LAA12283@goose.prod.itd.earthlink.net> References: <3.0.3.32.19990417224248.00923850@pop.primenet.com> <199904180204.TAA25324@snipe.prod.itd.earthlink.net> <3.0.3.32.19990417101439.0096f480@pop.primenet.com> <199904170416.VAA01564@avocet.prod.itd.earthlink.net> <3.0.3.32.19990416165141.0092b9d0@pop.primenet.com> <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> <3.0.3.32.19990416121913.00922ab0@pop.primenet.com> Message-ID: <3.0.3.32.19990418161548.0091b190@pop.primenet.com> At 11:47 AM 4/18/99 -0700, you wrote: >>>Presenting?!? I'll see if I can come up with anything useful for OOP. Might >>>want to have something other than this as a backup in case I can't make it >>>for some reason. >> >>You could talk about modules if you'd rather. I think you said that you >>had done a few. Most everyone (including me) that I have talked to haven't >>rolled their own, but want to know how. Let me know. Thanks. If you >>don't show up, maybe Glen could talk about JAVA. :) >> >>Doug and Julie Miles >> > >I've been working on an HTML parser. It's basic right now but maybe I can >implement all the stuff I've been thinking of before then. I have about 2 >weeks so it shouldn't be a problem. Cool. Thanks! Doug and Julie Miles From Beaves at aol.com Sun Apr 18 20:44:44 1999 From: Beaves at aol.com (Beaves@aol.com) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: LH package Message-ID: To mekla and all the happy fun ball pm'ers I have been inundated with requests for my package (oops, out of context, that sounds kind of kinky...). Well, OK, only one guy expressed an interest.. So... I've uploaded my LH object code on my site http://www.azwebs.com click 'Perl' click 'LH' link (best opened in new window, so right click...) directly, the URL is: http://www.azwebs.com/azw _home/perl/LH.pm.htm The site isn't much to look at, but its is really tough to do all the things I want to do in the amount of time I have. Some things have to suffer a little, I guess. Let me know what you think! I most likely will not be able to make the meeting on the 29th. But I would be delighted if copies of my LH object code made it to the meeting in my absence. Pass it around the table, use it as a coaster, or a place mat. I am curious to see actually how far off base my programming actually is!! Check 6!! Tim From dmiles at primenet.com Mon Apr 19 13:51:57 1999 From: dmiles at primenet.com (Doug and Julie Miles) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: LH package In-Reply-To: Message-ID: <3.0.3.32.19990419115157.0094e3b0@pop.primenet.com> At 09:44 PM 4/18/99 EDT, you wrote: >To mekla and all the happy fun ball pm'ers > >I have been inundated with requests for my package (oops, out of context, >that sounds kind of kinky...). Well, OK, only one guy expressed an >interest.. > >So... >I've uploaded my LH object code on my site >http://www.azwebs.com >click 'Perl' >click 'LH' link (best opened in new window, so right click...) > >directly, the URL is: >HREF="http://www.azwebs.com/azw_home/perl/LH.pm.htm">http://www.azwebs.com/ azw >_home/perl/LH.pm.htm > > >The site isn't much to look at, but its is really tough to do all the things >I want to do in the amount of time I have. Some things have to suffer a >little, I guess. > >Let me know what you think! > >I most likely will not be able to make the meeting on the 29th. But I would >be delighted if copies of my LH object code made it to the meeting in my >absence. Pass it around the table, use it as a coaster, or a place mat. I >am curious to see actually how far off base my programming actually is!! > >Check 6!! Thanks for making you code available! I'll hand out copies at the meeting for you. Doug and Julie Miles From coyotl at primenet.com Mon Apr 19 21:02:10 1999 From: coyotl at primenet.com (Glen G. Walker) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Web site ideas In-Reply-To: <3.0.3.32.19990417101439.0096f480@pop.primenet.com> Message-ID: On Sat, 17 Apr 1999, Doug and Julie Miles wrote: > >unfortunately. > > How does the 29th sound? > > Glen will the 29th work? > I will be busy until 7:30 or so... different day? ------------------------------------------------------------------------------- Glen G. Walker, coyotl@primenet.com www.primenet.com/~coyotl ------------------------------------------------------------------------------- From coyotl at primenet.com Wed Apr 21 19:58:04 1999 From: coyotl at primenet.com (Glen G. Walker) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: mail in NT Message-ID: Kind of an odd question, but an associate wants to know what the procedure would be for sending mail from a Perlscript running on an NT box... i.e. would you still pipe through sendmail, or what would be done different? does that make any sense? ------------------------------------------------------------------------------- Glen G. Walker, coyotl@primenet.com www.primenet.com/~coyotl ------------------------------------------------------------------------------- From sinck at today.com Thu Apr 22 10:26:21 1999 From: sinck at today.com (David Sinck) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: mail in NT References: Message-ID: <14111.16285.109398.526994@dsl98.phnx.uswest.net> \_ \_ Kind of an odd question, but an associate wants to know what the procedure \_ would be for sending mail from a Perlscript running on an NT box... \_ \_ i.e. would you still pipe through sendmail, or what would be done \_ different? 'sendmail' not on NT AFAIK (sure, there's the M$ blasphemy called that, but I woun't use it). \_ does that make any sense? Yup. use Net::SMTP; David From dmiles at primenet.com Thu Apr 22 12:34:31 1999 From: dmiles at primenet.com (Doug and Julie Miles) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: mail in NT In-Reply-To: <14111.16285.109398.526994@dsl98.phnx.uswest.net> References: Message-ID: <3.0.3.32.19990422103431.008f1ad0@pop.primenet.com> At 08:26 AM 4/22/99 -0700, you wrote: > > >\_ >\_ Kind of an odd question, but an associate wants to know what the procedure >\_ would be for sending mail from a Perlscript running on an NT box... >\_ >\_ i.e. would you still pipe through sendmail, or what would be done >\_ different? > >'sendmail' not on NT AFAIK (sure, there's the M$ blasphemy called that, >but I woun't use it). > > >\_ does that make any sense? >Yup. > >use Net::SMTP; Yes. There is also a program called blat that is suposed to be a sendmail "replacement" on NT. Just search for blat on the WWW. Doug and Julie Miles From sinck at today.com Thu Apr 22 13:28:27 1999 From: sinck at today.com (David Sinck) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: mail in NT References: <3.0.3.32.19990422103431.008f1ad0@pop.primenet.com> Message-ID: <14111.27211.595279.919342@dsl98.phnx.uswest.net> \_ >use Net::SMTP; \_ \_ Yes. There is also a program called blat that is suposed to be a sendmail \_ "replacement" on NT. Just search for blat on the WWW. There's that too, but it's not necessarily thread safe if you're doing a web mailer thingy. I've used it before, and it's not to shameful, but I'd still vote for Net::SMTP over blat... you can port a script with Net::SMTP to another platform a lot faster than you could blat... David From dmiles at primenet.com Thu Apr 22 23:14:07 1999 From: dmiles at primenet.com (Doug and Julie Miles) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: mail in NT In-Reply-To: <14111.27211.595279.919342@dsl98.phnx.uswest.net> References: <3.0.3.32.19990422103431.008f1ad0@pop.primenet.com> Message-ID: <3.0.3.32.19990422211407.008dea40@pop.primenet.com> At 11:28 AM 4/22/99 -0700, you wrote: > > >\_ >use Net::SMTP; >\_ >\_ Yes. There is also a program called blat that is suposed to be a sendmail >\_ "replacement" on NT. Just search for blat on the WWW. > >There's that too, but it's not necessarily thread safe if you're doing >a web mailer thingy. I've used it before, and it's not to shameful, >but I'd still vote for Net::SMTP over blat... you can port a script >with Net::SMTP to another platform a lot faster than you could blat... Yep. I agree. Just wanted to give another option. Doug and Julie Miles From coyotl at primenet.com Fri Apr 23 12:24:16 1999 From: coyotl at primenet.com (Glen G. Walker) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Mtg In-Reply-To: <3.0.3.32.19990422211407.008dea40@pop.primenet.com> Message-ID: You aren't going to believe this. The chat I had to admin on the the 29th has been moved to May 6th... Should/can we move the meeting back to the original date of the 29th? ------------------------------------------------------------------------------- Glen G. Walker, coyotl@primenet.com www.primenet.com/~coyotl ------------------------------------------------------------------------------- From mekla at geocities.com Fri Apr 23 12:56:13 1999 From: mekla at geocities.com (Shay Harding) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Mtg References: Message-ID: <99042311050900.08608@shay.cwie.net> On Fri, 23 Apr 1999, you wrote: >You aren't going to believe this. > >The chat I had to admin on the the 29th has been moved to May 6th... > >Should/can we move the meeting back to the original date of the 29th? I'm up for it and even have some stuff on OOP if anyone's interested. I created a program that would demonstrate a whole slew of OO methods. I am currently trying to document it so it's easier to follow since if you have no background in data structures it will look quite foreign. I will probably just use the Data::Dumper module to create a 'tree' out of some of the vars. I wrote it for work. If you ever try to verify addresses, you know it's a pain. If someone were to give a city, state, zip combo (US only right now) you'd have to manually go look it up to see if that combo is actually valid. This program will attempt to do that for you by taking a given zip code, queying a script on the US Post Office's site that queries their database, then parsing the returned HTML page and getting all city/states that match the zip code passed. You can then match the returns to what was given to you and see if the address is a valid combo. You may ask, "Well what use does this have?"... If you have ever worked for a company that takes credit cards online, then you know there is a lot of fraud going on. I noticed most of the time the zipcode does not match the city/state entered. This is an automated way to catch that BEFORE the credit card is processed to avoid chargebacks by the card owner (in the case the card was stolen). I have plans to also match other country's postal codes against city/province entered and already have the search engines lined up to query against, but I need to code the base modules first. Shay From dmiles at primenet.com Fri Apr 23 18:42:18 1999 From: dmiles at primenet.com (Doug and Julie Miles) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Mtg In-Reply-To: References: <3.0.3.32.19990422211407.008dea40@pop.primenet.com> Message-ID: <3.0.3.32.19990423164218.0096b810@pop.primenet.com> At 10:24 AM 4/23/99 -0700, you wrote: > >You aren't going to believe this. > >The chat I had to admin on the the 29th has been moved to May 6th... > He he he... good thing I didn't post it offically. OK everyone... We'll be having a Phoenix.pm meeting Thursday April 29th at 7:00PM. It will be held at the MAC America Building. It is located at 5555 North 7th Avenue, which is about half a block north of Missouri (Between Bethany Home Rd. and Camelback W. of I17) on 7th Ave (East side of the street). Park in the big front lot. The lobby door will be locked, but someone will be there from 6:50 to 7:10 to let people in. Please be prompt, (Glen :) ) as once the meeting starts, there will be no one to let anyone in. Shay will be discussing Perl OOP. Doug and Julie Miles From dmiles at primenet.com Fri Apr 23 18:43:54 1999 From: dmiles at primenet.com (Doug and Julie Miles) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Mtg In-Reply-To: <99042311050900.08608@shay.cwie.net> References: Message-ID: <3.0.3.32.19990423164354.0097e100@pop.primenet.com> At 10:56 AM 4/23/99 -0700, you wrote: >I'm up for it and even have some stuff on OOP if anyone's interested. I created >a program that would demonstrate a whole slew of OO methods. I am currently >trying to document it so it's easier to follow since if you have no background >in data structures it will look quite foreign. I will probably just use the >Data::Dumper module to create a 'tree' out of some of the vars. > >I wrote it for work. If you ever try to verify addresses, >you know it's a pain. If someone were to give a city, state, zip combo (US only >right now) you'd have to manually go look it up to see if that combo is >actually valid. This program will attempt to do that for you by taking a given >zip code, queying a script on the US Post Office's site that queries their >database, then parsing the returned HTML page and getting all city/states that >match the zip code passed. You can then match the returns to what was given to >you and see if the address is a valid combo. Sounds cool to me. >You may ask, "Well what use does this have?"... If you have ever worked for a >company that takes credit cards online, then you know there is a lot of fraud >going on. I noticed most of the time the zipcode does not match the city/state >entered. This is an automated way to catch that BEFORE the credit card is >processed to avoid chargebacks by the card owner (in the case the card was >stolen). > >I have plans to also match other country's postal codes against city/province >entered and already have the search engines lined up to query against, but I >need to code the base modules first. I'm looking forward to hearing about it... Doug and Julie Miles From Beaves at aol.com Fri Apr 23 22:59:51 1999 From: Beaves at aol.com (Beaves@aol.com) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: I can't make it, but will LH? Message-ID: I am dying to get to one of these meetings to meet y'all, but I can't make the one on the 29th. In my absence, it would be greatly appreciated if you would glance over the LH package and send some feedback my way. I would also be happy to answer any questions the group might have about the code. In case you missed it, the code can be found at: http://www.azwebs.com/azw _home/perl/LH.pm.htm I'll be in Tampa on the 29th eating blue crabs. I'll save you a claw... Tim Beavers webmaster@azwebs.com http://azwebs.com From edelsys at swlink.net Wed Apr 28 07:51:03 1999 From: edelsys at swlink.net (Anthony R. Nemmer) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: fyunch (click) ! Message-ID: <3.0.5.32.19990428055103.007dee30@swlink.net> From coyotl at primenet.com Wed Apr 28 17:23:15 1999 From: coyotl at primenet.com (Glen G. Walker) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: odd... In-Reply-To: <3.0.3.32.19990423164218.0096b810@pop.primenet.com> Message-ID: I just called localtime (time) and got: 59 17 15 28 3 99 3 117 0 Does this not read as _March_ 28th instead of April 28th? UNIX date command yields: Wed Apr 28 15:19:43 MST 1999 so, I know the server isn't off... (I'm looking at page 185 on the Most Holy Camel book...) ------------------------------------------------------------------------------- Glen G. Walker, coyotl@primenet.com www.primenet.com/~coyotl ------------------------------------------------------------------------------- From edelsys at swlink.net Wed Apr 28 17:29:23 1999 From: edelsys at swlink.net (Anthony R. Nemmer) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: odd... In-Reply-To: References: <3.0.3.32.19990423164218.0096b810@pop.primenet.com> Message-ID: <3.0.5.32.19990428152923.007e1100@swlink.net> At 03:23 PM 4/28/99 -0700, you wrote: > >I just called localtime (time) and got: > > 59 17 15 28 3 99 3 117 0 > >Does this not read as _March_ 28th instead of April 28th? > >UNIX date command yields: > > Wed Apr 28 15:19:43 MST 1999 > >so, I know the server isn't off... > >(I'm looking at page 185 on the Most Holy Camel book...) > >--------------------------------------------------------------------------- ---- >Glen G. Walker, coyotl@primenet.com >www.primenet.com/~coyotl >--------------------------------------------------------------------------- ---- > Month ranges from 0 to 11, I believe. Tony -- -- Anthony R. Nemmer -- EdelSys Consulting edelsys@swlink.net -- http://www.edelsys.com/ -- http://www.swlink.net/~edelsys/ -- Opera r0ks! http://www.operasoftware.com/ -- From coyotl at primenet.com Wed Apr 28 17:57:37 1999 From: coyotl at primenet.com (Glen G. Walker) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: odd... In-Reply-To: <3.0.5.32.19990428152923.007e1100@swlink.net> Message-ID: On Wed, 28 Apr 1999, Anthony R. Nemmer wrote: > At 03:23 PM 4/28/99 -0700, you wrote: > > > >I just called localtime (time) and got: > > > > 59 17 15 28 3 99 3 117 0 > > > >Does this not read as _March_ 28th instead of April 28th? > Month ranges from 0 to 11, I believe. > > Tony That was my first thought, too... but then why do all the other fields seem to start at 1 instead of 0? Much kink... ------------------------------------------------------------------------------- Glen G. Walker, coyotl@primenet.com www.primenet.com/~coyotl ------------------------------------------------------------------------------- From edelsys at swlink.net Wed Apr 28 18:12:12 1999 From: edelsys at swlink.net (Anthony R. Nemmer) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: odd... In-Reply-To: References: <3.0.5.32.19990428152923.007e1100@swlink.net> Message-ID: <3.0.5.32.19990428161212.0080be00@swlink.net> At 03:57 PM 4/28/99 -0700, you wrote: >On Wed, 28 Apr 1999, Anthony R. Nemmer wrote: > >> At 03:23 PM 4/28/99 -0700, you wrote: >> > >> >I just called localtime (time) and got: >> > >> > 59 17 15 28 3 99 3 117 0 >> > >> >Does this not read as _March_ 28th instead of April 28th? > >> Month ranges from 0 to 11, I believe. >> >> Tony > >That was my first thought, too... but then why do all the other fields >seem to start at 1 instead of 0? Much kink... > > >--------------------------------------------------------------------------- ---- >Glen G. Walker, coyotl@primenet.com >www.primenet.com/~coyotl >--------------------------------------------------------------------------- ---- > It looks like this is an artifact of the underlying c structure, tm. I suppose the rationale is to make it easier to index into arrays for those time values where that makes the most sense. =) Tony From Beaves at aol.com Wed Apr 28 18:08:30 1999 From: Beaves at aol.com (Beaves@aol.com) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: odd... Message-ID: Referring to the book o' Camel... ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime(time); $mon has the range 0..11 $wday has the range 0..6 $year has 1900 subtracted from it already Hope this helps you, or helps others witht the same predicament. Tim From dmiles at primenet.com Thu Apr 29 12:48:08 1999 From: dmiles at primenet.com (Doug and Julie Miles) Date: Thu Aug 5 00:17:27 2004 Subject: Phoenix.pm: Reminder: Meeting tonight Message-ID: <3.0.3.32.19990429104808.00d0aa00@pop.primenet.com> Reminder: We'll be having a Phoenix.pm meeting Thursday April 29th at 7:00PM. It will be held at the MAC America Building. It is located at 5555 North 7th Avenue, which is about half a block north of Missouri (Between Bethany Home Rd. and Camelback W. of I17) on 7th Ave (East side of the street). Park in the big front lot. The lobby door will be locked, but someone will be there from 6:50 to 7:10 to let people in. Please be prompt, as once the meeting starts, there will be no one to let anyone in. Shay will be discussing Perl OOP. Doug and Julie Miles Doug and Julie Miles From p at dancris.com Mon Apr 5 19:37:05 1999 From: p at dancris.com (Peter J Jones) Date: Thu Aug 5 00:17:28 2004 Subject: Phoenix.pm: odd... References: Message-ID: <37095730.DF276D0@dancris.com> it allows you to do things like this... @months = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec); $month = $months[(localtime)[4]]; which would set $month to "May" this also works for weekdays so that you can label months and days easy. you can also do this... $m = ('J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D')[(localtime)[4]]; month names are shortened because I am lazy! you have to put parentheses around the localtime so that you can index it. In fact, you can index anything that returns an array! $file_size = (stat("somefile"))[7]; Peter "Glen G. Walker" wrote: > I just called localtime (time) and got: > > 59 17 15 28 3 99 3 117 0 > > Does this not read as _March_ 28th instead of April 28th? > > UNIX date command yields: > > Wed Apr 28 15:19:43 MST 1999 > > so, I know the server isn't off... > > (I'm looking at page 185 on the Most Holy Camel book...) > > ------------------------------------------------------------------------------- > Glen G. Walker, coyotl@primenet.com > www.primenet.com/~coyotl > -------------------------------------------------------------------------------