From rbowen at rcbowen.com Tue Dec 5 22:27:37 2000 From: rbowen at rcbowen.com (Rich Bowen) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Monday? Message-ID: <3A2DC039.E9D15789@rcbowen.com> Once again, we are one week from our meeting, and it seems that we have no speaker. Any volunteers? I've been working on a paper entitled "How to get a date with Perl", which is about all of the Date and Time modules on CPAN. I'd be willing to talk about that a little. It's very disorganized at the moment, but it could be entertaining. Anyone else got a better idea? Rich -- Rich Bowen Author: Apache Server Unleashed - www.apacheunleashed.com Director of Web Application Development - http://www.cre8tivegroup.com/ From hempy at ket.org Wed Dec 6 10:22:37 2000 From: hempy at ket.org (David Hempy) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Monday? In-Reply-To: <3A2DC039.E9D15789@rcbowen.com> Message-ID: <5.0.0.25.0.20001206112150.0203f408@mail.ket.org> At 11:27 PM 12/5/2000 -0500, you wrote: >Once again, we are one week from our meeting, and it seems that we have >no speaker. >Any volunteers? > >I've been working on a paper entitled "How to get a date with Perl", >which is about all of the Date and Time modules on CPAN. I'd be willing >to talk about that a little. It's very disorganized at the moment, but >it could be entertaining. That is a talk I would be eager to attend. It seems I always struggle with date formatting. -d -- David Hempy Internet Database Administrator Kentucky Educational Television -- (859)258-7164 -- (800)333-9764 From fprice at upended.org Wed Dec 6 15:48:50 2000 From: fprice at upended.org (Frank Price) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Monday? In-Reply-To: <3A2DC039.E9D15789@rcbowen.com>; from rbowen@rcbowen.com on Tue, Dec 05, 2000 at 11:27:37PM -0500 References: <3A2DC039.E9D15789@rcbowen.com> Message-ID: <20001206164850.A2650@localhost.localdomain> On Tue, Dec 05, 2000 at 11:27:37PM -0500, Rich Bowen wrote: > Once again, we are one week from our meeting, and it seems that we have > no speaker. > Any volunteers? > > I've been working on a paper entitled "How to get a date with Perl", > which is about all of the Date and Time modules on CPAN. I'd be willing > to talk about that a little. It's very disorganized at the moment, but > it could be entertaining. > > Anyone else got a better idea? Sounds great to me. For the first time in a while, I'll be able to attend and will bring a few "many monkeys" questions the answers to which I'm sure you gurus will be able to answer. For the record, where and when is the meeting? -Frank. -- Frank Price | fprice@upended.org | www.upended.org/fprice/ GPG key: www.upended.org/fprice/gpg.asc | E Pluribus Unix From repett0 at sweb.uky.edu Wed Dec 6 16:15:36 2000 From: repett0 at sweb.uky.edu (Ronald Edward Petty) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Monday? In-Reply-To: <20001206164850.A2650@localhost.localdomain> Message-ID: I was just informed that there might be a final ( I have to get kenny to give me a number or he do it ) to ask whats going on. Ron On Wed, 6 Dec 2000, Frank Price wrote: > On Tue, Dec 05, 2000 at 11:27:37PM -0500, Rich Bowen wrote: > > Once again, we are one week from our meeting, and it seems that we have > > no speaker. > > Any volunteers? > > > > I've been working on a paper entitled "How to get a date with Perl", > > which is about all of the Date and Time modules on CPAN. I'd be willing > > to talk about that a little. It's very disorganized at the moment, but > > it could be entertaining. > > > > Anyone else got a better idea? > > Sounds great to me. For the first time in a while, I'll be able to > attend and will bring a few "many monkeys" questions the answers to > which I'm sure you gurus will be able to answer. > > For the record, where and when is the meeting? > > -Frank. > -- > Frank Price | fprice@upended.org | www.upended.org/fprice/ > GPG key: www.upended.org/fprice/gpg.asc | E Pluribus Unix > > From gcasillo at ket.org Wed Dec 6 16:19:06 2000 From: gcasillo at ket.org (Gregg Casillo) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Monday? References: <3A2DC039.E9D15789@rcbowen.com> Message-ID: <3A2EBB5A.4E6945D1@ket.org> A discussion on Perl's handling of dates will have me in attendance for sure. I can stand to learn a few tricks. Gregg Casillo Web Programmer, KET From ken.rietz at asbury.edu Wed Dec 6 16:30:44 2000 From: ken.rietz at asbury.edu (ken.rietz@asbury.edu) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: RE: Monday? Message-ID: <23CBF54C1C42D411B2CA0004ACB8555F117CEA@MOSES> Since Monday is the first day of finals here, I can probably finagle my way to attend. I will try, anyway. I might even have a chance to look at this beforehand, even if that is breaking my own tradition :-). -- Ken Rietz From sungo at qx.net Wed Dec 6 16:21:24 2000 From: sungo at qx.net (Matt Cashner) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Monday? In-Reply-To: <3A2EBB5A.4E6945D1@ket.org> Message-ID: On Wed, 6 Dec 2000, Gregg Casillo wrote: > A discussion on Perl's handling of dates will have me in attendance for > sure. I can stand to learn a few tricks. oh sure. you all show up now. but when i talk, OH NO. no one shows up for that. :) -------- Matt Cashner Web Applications Developer The Creative Group (http://www.cre8tivegroup.com) sungo@earthling.net | Codito, ergo sum From repett0 at sweb.uky.edu Wed Dec 6 17:57:34 2000 From: repett0 at sweb.uky.edu (Ronald Edward Petty) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Monday? In-Reply-To: Message-ID: I still haven't found out if there is a final this week. ron On Wed, 6 Dec 2000, Matt Cashner wrote: > On Wed, 6 Dec 2000, Gregg Casillo wrote: > > > A discussion on Perl's handling of dates will have me in attendance for > > sure. I can stand to learn a few tricks. > > oh sure. you all show up now. but when i talk, OH NO. no one shows up for > that. :) > > -------- > Matt Cashner > Web Applications Developer > The Creative Group (http://www.cre8tivegroup.com) > sungo@earthling.net | Codito, ergo sum > > > From rbowen at rcbowen.com Mon Dec 11 19:46:05 2000 From: rbowen at rcbowen.com (Rich Bowen) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting Message-ID: <3A35835D.154DB743@rcbowen.com> With several people expressing interest in this evening's meeting, it was exceedingly disappointing and annoying that nobody actually made it to the meeting except for Ken. We waited until 6:30, and when nobody showed up, we adjourned to my home for a little discussion of Date and Time Perl modules. -- Rich Bowen Author: Apache Server Unleashed - www.apacheunleashed.com Director of Web Application Development - http://www.cre8tivegroup.com/ From rbowen at rcbowen.com Fri Dec 15 20:28:39 2000 From: rbowen at rcbowen.com (Rich Bowen) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Late email Message-ID: <3A3AD357.84D3812F@rcbowen.com> As you may have been aware, the machine that hosts the LPM web site, as well as the mailing list, has been down for most of the week, and just came back up. http://use.perl.org/news/00/12/14/188254.shtml Thought you might like to know -- Rich Bowen Author: Apache Server Unleashed - www.apacheunleashed.com Director of Web Application Development - http://www.cre8tivegroup.com/ From repett0 at sweb.uky.edu Fri Dec 15 20:46:58 2000 From: repett0 at sweb.uky.edu (Ronald Edward Petty) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting In-Reply-To: <3A35835D.154DB743@rcbowen.com> Message-ID: did you get the room in whitehall ok....? Ron On Mon, 11 Dec 2000, Rich Bowen wrote: > With several people expressing interest in this evening's meeting, it > was exceedingly disappointing and annoying that nobody actually made it > to the meeting except for Ken. We waited until 6:30, and when nobody > showed up, we adjourned to my home for a little discussion of Date and > Time Perl modules. > > -- > Rich Bowen > Author: Apache Server Unleashed - www.apacheunleashed.com > Director of Web Application Development - http://www.cre8tivegroup.com/ > From rbowen at rcbowen.com Fri Dec 15 21:04:21 2000 From: rbowen at rcbowen.com (Rich Bowen) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting References: Message-ID: <3A3ADBB5.2B3F666D@rcbowen.com> Ronald Edward Petty wrote: > > did you get the room in whitehall ok....? Um. Yeah. The two of us that were there. -- Rich Bowen Author: Apache Server Unleashed - www.apacheunleashed.com Director of Web Application Development - http://www.cre8tivegroup.com/ From hempy at ket.org Fri Dec 15 21:27:07 2000 From: hempy at ket.org (David Hempy) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting In-Reply-To: <3A35835D.154DB743@rcbowen.com> Message-ID: <5.0.0.25.0.20001215222512.01a71b98@mail.ket.org> At 08:46 PM 12/11/2000 -0500, you wrote: >With several people expressing interest in this evening's meeting, it >was exceedingly disappointing and annoying that nobody actually made it >to the meeting except for Ken. We waited until 6:30, and when nobody >showed up, we adjourned to my home for a little discussion of Date and >Time Perl modules. Dang...I was looking forward to that discussion...I didn't think we had a room. Sorry for the no-show, -dave -- David Hempy Internet Database Administrator Kentucky Educational Television -- (859)258-7164 -- (800)333-9764 From rbowen at rcbowen.com Fri Dec 15 21:32:41 2000 From: rbowen at rcbowen.com (Rich Bowen) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting References: <5.0.0.25.0.20001215222512.01a71b98@mail.ket.org> Message-ID: <3A3AE259.354F1B28@rcbowen.com> David Hempy wrote: > > At 08:46 PM 12/11/2000 -0500, you wrote: > >With several people expressing interest in this evening's meeting, it > >was exceedingly disappointing and annoying that nobody actually made it > >to the meeting except for Ken. We waited until 6:30, and when nobody > >showed up, we adjourned to my home for a little discussion of Date and > >Time Perl modules. > > Dang...I was looking forward to that discussion...I didn't think we had a room. > > Sorry for the no-show, Perhaps we could reschedule it for January. -- Rich Bowen Author: Apache Server Unleashed - www.apacheunleashed.com Director of Web Application Development - http://www.cre8tivegroup.com/ From repett0 at sweb.uky.edu Sat Dec 16 02:49:53 2000 From: repett0 at sweb.uky.edu (Ronald Edward Petty) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting In-Reply-To: <3A3ADBB5.2B3F666D@rcbowen.com> Message-ID: sorry I would have but I had finals to do. Glad there wasn't any finals going on. Ron On Fri, 15 Dec 2000, Rich Bowen wrote: > Ronald Edward Petty wrote: > > > > did you get the room in whitehall ok....? > > Um. Yeah. The two of us that were there. > > -- > Rich Bowen > Author: Apache Server Unleashed - www.apacheunleashed.com > Director of Web Application Development - http://www.cre8tivegroup.com/ > From rbowen at rcbowen.com Sat Dec 16 08:05:08 2000 From: rbowen at rcbowen.com (Rich Bowen) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting References: Message-ID: <3A3B7694.16F2E875@rcbowen.com> Ronald, What are the prospects for a room in January? Will anyone be on campus? -- Rich Bowen Author: Apache Server Unleashed - www.apacheunleashed.com Director of Web Application Development - http://www.cre8tivegroup.com/ From repett0 at sweb.uky.edu Sat Dec 16 10:26:24 2000 From: repett0 at sweb.uky.edu (Ronald Edward Petty) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting In-Reply-To: <3A3B7694.16F2E875@rcbowen.com> Message-ID: Ill be here yet again unfortunetly :). Ill get a real room if I can, if not its still whitehall unless you guys find a different place. Ron On Sat, 16 Dec 2000, Rich Bowen wrote: > Ronald, > What are the prospects for a room in January? Will anyone be on campus? > > -- > Rich Bowen > Author: Apache Server Unleashed - www.apacheunleashed.com > Director of Web Application Development - http://www.cre8tivegroup.com/ > From wsheldahl at qx.net Mon Dec 18 01:51:13 2000 From: wsheldahl at qx.net (Wesley) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting References: <3A3ADBB5.2B3F666D@rcbowen.com> Message-ID: <3A3DC1F1.B044AD1D@qx.net> Rich Bowen wrote: > > Ronald Edward Petty wrote: > > > > did you get the room in whitehall ok....? > > Um. Yeah. The two of us that were there. > > -- > Rich Bowen > Author: Apache Server Unleashed - www.apacheunleashed.com > Director of Web Application Development - http://www.cre8tivegroup.com/ FWIW, I wandered whitehall from about 6:05 to 6:25 or so. Found lots of students taking finals, but no perlmongers, or any signs of them. Forgot to write down the specific room number, never dreamed I'd be looking for a needle in a haystack. Oh well, maybe next time. -- Wes Sheldahl wsheldahl@qx.net From janine at emazing.com Mon Dec 18 09:26:23 2000 From: janine at emazing.com (Janine) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting In-Reply-To: <5.0.0.25.0.20001215222512.01a71b98@mail.ket.org> Message-ID: I didn't think so, either. The last message I recall reading (not necessarily the last one I received ;-) was Ron's that said there might be finals going on during the meeting. So I elected to stay home. I hate to be a booger about this, but do we or do we not have a room at UK? Is it temporary (like, just until we find something better) or permanent (like, we can count on meeting there every month)? Janine > -----Original Message----- > From: owner-lexington-pm-list@pm.org > [mailto:owner-lexington-pm-list@pm.org]On Behalf Of David Hempy > Sent: Friday, December 15, 2000 10:27 PM > To: lexington-pm-list@happyfunball.pm.org > Subject: Re: LPM: This evening's meeting > > > At 08:46 PM 12/11/2000 -0500, you wrote: > >With several people expressing interest in this evening's meeting, it > >was exceedingly disappointing and annoying that nobody actually made it > >to the meeting except for Ken. We waited until 6:30, and when nobody > >showed up, we adjourned to my home for a little discussion of Date and > >Time Perl modules. > > > Dang...I was looking forward to that discussion...I didn't think we had a room. > > Sorry for the no-show, > -dave > > > > > -- > David Hempy > Internet Database Administrator > Kentucky Educational Television > -- (859)258-7164 -- (800)333-9764 > > > From repett0 at sweb.uky.edu Mon Dec 18 09:28:10 2000 From: repett0 at sweb.uky.edu (Ronald Edward Petty) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting In-Reply-To: Message-ID: I am working on a permenant solution. There are several tech focus groups in lex, we need to have it all in the same place time etc for each of them so everyone knows when to show instead of quessing. Im going to ask Prof. Douglas if we can start getting McVey , they have projectors, internet 2, etc. Much nicer than whitehall. Bare with me. ron On Mon, 18 Dec 2000, Janine wrote: > I didn't think so, either. The last message I recall reading (not necessarily the last one I received ;-) was Ron's that said there > might be finals going on during the meeting. So I elected to stay home. > > I hate to be a booger about this, but do we or do we not have a room at UK? Is it temporary (like, just until we find something > better) or permanent (like, we can count on meeting there every month)? > > Janine > > > -----Original Message----- > > From: owner-lexington-pm-list@pm.org > > [mailto:owner-lexington-pm-list@pm.org]On Behalf Of David Hempy > > Sent: Friday, December 15, 2000 10:27 PM > > To: lexington-pm-list@happyfunball.pm.org > > Subject: Re: LPM: This evening's meeting > > > > > > At 08:46 PM 12/11/2000 -0500, you wrote: > > >With several people expressing interest in this evening's meeting, it > > >was exceedingly disappointing and annoying that nobody actually made it > > >to the meeting except for Ken. We waited until 6:30, and when nobody > > >showed up, we adjourned to my home for a little discussion of Date and > > >Time Perl modules. > > > > > > Dang...I was looking forward to that discussion...I didn't think we had a room. > > > > Sorry for the no-show, > > -dave > > > > > > > > > > -- > > David Hempy > > Internet Database Administrator > > Kentucky Educational Television > > -- (859)258-7164 -- (800)333-9764 > > > > > > > > From hempy at ket.org Mon Dec 18 10:14:32 2000 From: hempy at ket.org (David Hempy) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting In-Reply-To: References: Message-ID: <5.0.0.25.0.20001218110908.03cac210@mail.ket.org> At 10:28 AM 12/18/2000 -0500, you wrote: >I am working on a permenant solution. There are several tech focus groups >in lex, we need to have it all in the same place time etc for each of them >so everyone knows when to show instead of quessing. Im going to ask Prof. >Douglas if we can start getting McVey , they have projectors, internet 2, >etc. Much nicer than whitehall. Sounds good. I would like very much to meet at UK on a regular basis. If a good permanent room doesn't pan out, let me again mention CKCS. I'm not evangelizing or anything, but they have a purpose-built room and schedule just for things like this. >Bare with me. Is this the part about the dancing boys? ;-) -dave -- David Hempy Internet Database Administrator Kentucky Educational Television -- (859)258-7164 -- (800)333-9764 From sungo at qx.net Mon Dec 18 10:25:54 2000 From: sungo at qx.net (Matt Cashner) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: new PM group announcement Message-ID: for all you wilmorites, I have just registered Wilmore.pm. I will let everyone know as soon as mailing lists and things are ready to rock. isnt life fun? :) -------- Matt Cashner Web Applications Developer The Creative Group (http://www.cre8tivegroup.com) sungo@earthling.net | Codito, ergo sum From pstackhouse at ket.org Mon Dec 18 13:32:10 2000 From: pstackhouse at ket.org (Paul Stackhouse) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: new PM group announcement References: Message-ID: <3A3E663A.31FBA8F2@ket.org> Isn't that Wilmorons? (I lived in Wilmore for several years, so I guess I can poke a little fun!) -paul Matt Cashner wrote: > > for all you wilmorites, I have just registered Wilmore.pm. I will let > everyone know as soon as mailing lists and things are ready to rock. > > isnt life fun? :) > > -------- > Matt Cashner > Web Applications Developer > The Creative Group (http://www.cre8tivegroup.com) > sungo@earthling.net | Codito, ergo sum -- Paul Stackhouse Webmaster Kentucky Educational TV Voice: 859-258-7135 600 Cooper Drive Fax: 859-258-7399 Lexington, KY 40502 http://www.ket.org From rbowen at rcbowen.com Mon Dec 18 09:01:25 2000 From: rbowen at rcbowen.com (Rich Bowen) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting References: <3A3ADBB5.2B3F666D@rcbowen.com> <3A3DC1F1.B044AD1D@qx.net> Message-ID: <3A3E26C5.73B946BA@rcbowen.com> > FWIW, I wandered whitehall from about 6:05 to 6:25 or so. Found lots of > students taking finals, but no perlmongers, or any signs of them. > Forgot to write down the specific room number, never dreamed I'd be > looking for a needle in a haystack. Oh well, maybe next time. Bummer. I waited, mostly out in the hallway, from 5:50 until 6:30, and saw only Ken. I was in the room from about 6:20 until 6:30, and was concerned that someone might have walked past then and not see me, but was in the hall the rest of the time. We'll me more clear on the room number next time. Which is, by the way, 208. You can remember it by this handy mnemonic - "2 followed by zero followed by 8." That helps me. :-) -- Rich Bowen Author: Apache Server Unleashed - www.apacheunleashed.com Director of Web Application Development - http://www.cre8tivegroup.com/ From sungo at qx.net Tue Dec 19 07:34:36 2000 From: sungo at qx.net (Matt Cashner) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: wilmore.pm Message-ID: the wilmore.pm mailing list has been set up. website coming soon. to subscribe: send email to majordomo@hfb.pm.org with the body subscribe wilmore-pm follow the confirmation procedure and all will be well. -------- Matt Cashner Web Applications Developer The Creative Group (http://www.cre8tivegroup.com) sungo@earthling.net | Codito, ergo sum From gcasillo at ket.org Wed Dec 20 13:25:53 2000 From: gcasillo at ket.org (Gregg Casillo) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Running system() on a WinNT box Message-ID: <3A4107C1.1090004@ket.org> I'm trying to create an "at" job on a Windows NT box with the following command: system("at","\\\\FFTENC3 15:00 c:\\progra~1\\real\\~realpr~2\\rmbatch.exe \/L 0,0 \/S \"real.ket.org:4040\/spycam.rm\" \O e:\\real\\test.rm \/X 00:00:10"); The at job is created fine, but the quote marks that surround the server URL are lost. I need those quote marks in order for the rmbatch.exe program to work correctly. I've tried using backticks instead, but I get the same result. I've tried to modify the above statement to avoid using a command shell, and if you think that system() call above is ugly, look at this: system("at","\\\\FFTENC3","15:00","c:\\progra~1\\real\\~realpr~2\\rmbatch.exe","\/L 0,0","\/S \"real.ket.org:4040\/spycam.rm\""," \O e:\\real\\test.rm","\/X 00:00:10"); The quote marks around the server URL are still lost when the at job is created. I read 14.1, Using system and exec, of Learning Perl on Win32 Systems and found little help with this particular problem. Anyone out there have any ideas or solutions (aside from using a *nix system)? Thanks, Gregg Casillo Web Programmer, KET From oneiros at dcr.net Thu Dec 21 12:09:51 2000 From: oneiros at dcr.net (Joe Hourcle) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Running system() on a WinNT box In-Reply-To: <3A4107C1.1090004@ket.org> Message-ID: On Wed, 20 Dec 2000, Gregg Casillo wrote: > I'm trying to create an "at" job on a Windows NT box with the following > command: > > system("at","\\\\FFTENC3 15:00 > c:\\progra~1\\real\\~realpr~2\\rmbatch.exe \/L 0,0 \/S > \"real.ket.org:4040\/spycam.rm\" \O e:\\real\\test.rm \/X 00:00:10"); Well, to take care of the quiting problem, if nothing'd getting expanded in there, you could use single quotes, otherwise, you could use qq// ----- Joe Hourcle From rbowen at rcbowen.com Thu Dec 21 14:02:36 2000 From: rbowen at rcbowen.com (Rich Bowen) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Running system() on a WinNT box References: <3A4107C1.1090004@ket.org> Message-ID: <3A4261DC.7B6E0173@rcbowen.com> I know that this is a totally unhelpful comment, but it's times like this that I'm really glad that I don't deal with Windows any more. -- Rich Bowen Author: Apache Server Unleashed - www.apacheunleashed.com Director of Web Application Development - http://www.cre8tivegroup.com/ From hempy at ket.org Thu Dec 21 20:39:36 2000 From: hempy at ket.org (David Hempy) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Running system() on a WinNT box In-Reply-To: <3A4261DC.7B6E0173@rcbowen.com> References: <3A4107C1.1090004@ket.org> Message-ID: <5.0.0.25.0.20001221213927.02162008@mail.ket.org> At 03:02 PM 12/21/2000 -0500, you wrote: >I know that this is a totally unhelpful comment, but it's times like >this that I'm really glad that I don't deal with Windows any more. :-) -- David Hempy Internet Database Administrator Kentucky Educational Television -- (859)258-7164 -- (800)333-9764 From wsheldahl at qx.net Fri Dec 22 00:38:42 2000 From: wsheldahl at qx.net (Wesley) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Running system() on a WinNT box References: <3A4107C1.1090004@ket.org> Message-ID: <3A42F6F2.AFD2174D@qx.net> How does this sound: if the command to create the at job is static, put all the nasty stuff in a regular batch file, then use perl's system to run the batch file. If the guts of the command can change, then write the command out to a batch file and use system() to run the dynamically created batch file. That way the batch file can have exactly the characters in it that at and Windows want it to have, without having to indulge Perl as well. HTH. Gregg Casillo wrote: > > I'm trying to create an "at" job on a Windows NT box with the following > command: Wes Sheldahl wsheldahl@qx.net From rbowen at rcbowen.com Fri Dec 22 05:56:50 2000 From: rbowen at rcbowen.com (Rich Bowen) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Running system() on a WinNT box References: <3A4107C1.1090004@ket.org> <3A42F6F2.AFD2174D@qx.net> Message-ID: <3A434182.728EA81B@rcbowen.com> Wesley wrote: > > How does this sound: if the command to create the at job is static, put > all the nasty stuff in a regular batch file, then use perl's system to > run the batch file. If the guts of the command can change, then write > the command out to a batch file and use system() to run the dynamically > created batch file. That way the batch file can have exactly the > characters in it that at and Windows want it to have, without having to > indulge Perl as well. HTH. There's also a bizarre tool that used to come with ActivePerl that would turn a perl program into a batch file. Or it might have been the other way around. -- Rich Bowen Author: Apache Server Unleashed - www.apacheunleashed.com Director of Web Application Development - http://www.cre8tivegroup.com/ From gcasillo at ket.org Fri Dec 22 11:19:05 2000 From: gcasillo at ket.org (Gregg Casillo) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Running system() on a WinNT box References: <3A4107C1.1090004@ket.org> <3A4261DC.7B6E0173@rcbowen.com> Message-ID: <3A438D09.505@ket.org> Envy. I have nothing but envy. Gregg Casillo KET Rich Bowen wrote: > I know that this is a totally unhelpful comment, but it's times like > this that I'm really glad that I don't deal with Windows any more. > From gcasillo at ket.org Fri Dec 22 11:40:00 2000 From: gcasillo at ket.org (Gregg Casillo) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Running system() on a WinNT box References: <3A4107C1.1090004@ket.org> <3A42F6F2.AFD2174D@qx.net> <3A434182.728EA81B@rcbowen.com> Message-ID: <3A4391F0.4020509@ket.org> While Wesley's approach would work, I'm trying to move away from batch files as much as possible and indulge Perl as much as possible. We have several old Perl scripts on our servers that were converted to batch files. I mean dirt old. They're bothersome to maintain, because, well, they're DOS batch files as much as they are Perl scripts. A few notes about my previous problem executing Windows NT at scheduler with a system() call. First, I found a module on CPAN, Scheduler::At, that has the interface and functionality I need except that it is biased toward *nix systems. I could modify that to work with WinNT's at scheduler, but I decided to hold off on that idea. I continued to work with the system() call and finally got it working with some inspiration from perlmonks.org. Then I found that I wanted the ID number of the at job I created. So I finally settled on a code snippet that you can find in the Perl Cookbook (16.4 Reading or Writing to Another Program). I can execute Windows NT's at scheduler with parameters and collect the output from that program which includes the job ID number that I can use later. Viola, right? Well, yes from the Perl side of the ledger, but Windows NT's at scheduler or command line appears to limit the amount of characters you can use to 259 characters or so. So I'm running but with my feet chopped off. Happy Holidays, Gregg Casillo Rich Bowen wrote: > Wesley wrote: > >> How does this sound: if the command to create the at job is static, put >> all the nasty stuff in a regular batch file, then use perl's system to >> run the batch file. If the guts of the command can change, then write >> the command out to a batch file and use system() to run the dynamically >> created batch file. That way the batch file can have exactly the >> characters in it that at and Windows want it to have, without having to >> indulge Perl as well. HTH. > > > There's also a bizarre tool that used to come with ActivePerl that would > turn a perl program into a batch file. Or it might have been the other > way around. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/archives/lexington-pm/attachments/20001222/86b7d9b6/attachment.htm From rbowen at rcbowen.com Fri Dec 22 11:48:56 2000 From: rbowen at rcbowen.com (Rich Bowen) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Running system() on a WinNT box References: <3A4107C1.1090004@ket.org> <3A42F6F2.AFD2174D@qx.net> <3A434182.728EA81B@rcbowen.com> <3A4391F0.4020509@ket.org> Message-ID: <3A439408.E218D556@rcbowen.com> You might also try http://maxx.mc.net/~jlh/nttools/index.htm Contains a very very very nice crond for NT -- Rich Bowen Author: Apache Server Unleashed - www.apacheunleashed.com Director of Web Application Development - http://www.cre8tivegroup.com/ From sungo at qx.net Fri Dec 22 12:04:46 2000 From: sungo at qx.net (Matt Cashner) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Running system() on a WinNT box In-Reply-To: <3A4391F0.4020509@ket.org> Message-ID: On Fri, 22 Dec 2000, Gregg Casillo wrote: > So I'm running but with my feet chopped off. that happened when work locked you into NT :) -------- Matt Cashner Web Applications Developer The Creative Group (http://www.cre8tivegroup.com) sungo@earthling.net | Codito, ergo sum From hempy at ket.org Fri Dec 22 12:48:49 2000 From: hempy at ket.org (David Hempy) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Running system() on a WinNT box In-Reply-To: <3A4391F0.4020509@ket.org> References: <3A4107C1.1090004@ket.org> <3A42F6F2.AFD2174D@qx.net> <3A434182.728EA81B@rcbowen.com> Message-ID: <5.0.0.25.0.20001222134250.02125ab8@mail.ket.org> At 12:40 PM 12/22/2000 -0500, you wrote: >While Wesley's approach would work, I'm trying to move away from batch >files as much as possible and indulge Perl as much as possible... >...but Windows NT's at scheduler or command line appears to limit the >amount of characters you can use to 259 characters or so. If what you're doing has to come from a batch file (starting Real Encoder, if I recall), and things are just too darned complicated to gracefully pull it all off on a command line, I would reconsider Wesley's suggestion: >if the command to create the at job is static, put >all the nasty stuff in a regular batch file If the arguments are not static, you could generate a separate .bat file for each job (named job0001.bat, job0002.bat, etc) and then have a simpler task of scheduling those .bat files however you like. Can a batch file delete itself? If not, you could have some other mechanism to tidy up the batch guano (nifty application for the "soon" command)...or just let them pile up for months at a time and not worry about it. FWIW, -dave -- David Hempy Internet Database Administrator Kentucky Educational Television -- (859)258-7164 -- (800)333-9764 From fprice at upended.org Wed Dec 27 18:39:35 2000 From: fprice at upended.org (Frank Price) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting In-Reply-To: <5.0.0.25.0.20001218110908.03cac210@mail.ket.org>; from hempy@ket.org on Mon, Dec 18, 2000 at 11:14:32AM -0500 References: <5.0.0.25.0.20001218110908.03cac210@mail.ket.org> Message-ID: <20001227193935.B4283@localhost.localdomain> On Mon, Dec 18, 2000 at 11:14:32AM -0500, David Hempy wrote: > At 10:28 AM 12/18/2000 -0500, you wrote: > > >I am working on a permenant solution. There are several tech focus groups > >in lex, we need to have it all in the same place time etc for each of them > >so everyone knows when to show instead of quessing. Im going to ask Prof. > >Douglas if we can start getting McVey , they have projectors, internet 2, > >etc. Much nicer than whitehall. > > Sounds good. I would like very much to meet at UK on a regular basis. If > a good permanent room doesn't pan out, let me again mention CKCS. I'm not > evangelizing or anything, but they have a purpose-built room and schedule > just for things like this. Another possibility, that I'll throw out just for giggles, is a meeting room at one of the public library branches. The Beaumont branch's room is pretty nice, and free for us as a non-profit. Not sure about downtown but I know they have one. Further investigation can be made if desired. -Frank. -- Frank Price | fprice@upended.org | www.upended.org/fprice/ GPG key: www.upended.org/fprice/gpg.asc | E Pluribus Unix From rbowen at rcbowen.com Wed Dec 27 20:49:09 2000 From: rbowen at rcbowen.com (Rich Bowen) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting References: <5.0.0.25.0.20001218110908.03cac210@mail.ket.org> <20001227193935.B4283@localhost.localdomain> Message-ID: <3A4AAA25.2A5E4330@rcbowen.com> Frank Price wrote: > > On Mon, Dec 18, 2000 at 11:14:32AM -0500, David Hempy wrote: > > At 10:28 AM 12/18/2000 -0500, you wrote: > > > > >I am working on a permenant solution. There are several tech focus groups > > >in lex, we need to have it all in the same place time etc for each of them > > >so everyone knows when to show instead of quessing. Im going to ask Prof. > > >Douglas if we can start getting McVey , they have projectors, internet 2, > > >etc. Much nicer than whitehall. > > > > Sounds good. I would like very much to meet at UK on a regular basis. If > > a good permanent room doesn't pan out, let me again mention CKCS. I'm not > > evangelizing or anything, but they have a purpose-built room and schedule > > just for things like this. > > Another possibility, that I'll throw out just for giggles, is a > meeting room at one of the public library branches. The Beaumont > branch's room is pretty nice, and free for us as a non-profit. Not > sure about downtown but I know they have one. > > Further investigation can be made if desired. Yes, this does indeed sound like investigating. Particularly if they have network (public libraries are reputed to have such) and a projector. Plus it's about 2 minutes from my house, which is a plus. -- Rich Bowen -- Director of Web Application Development http://www.cre8tivegroup.com/ -- rich@cre8tivegroup.com Have trouble remembering things? http://www.idforgetmyhead.com/ From wsheldahl at qx.net Wed Dec 27 22:25:40 2000 From: wsheldahl at qx.net (Wesley) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting References: <5.0.0.25.0.20001218110908.03cac210@mail.ket.org> <20001227193935.B4283@localhost.localdomain> Message-ID: <3A4AC0C4.C58C715E@qx.net> I like libraries, and would love to meet at any one of them. What are their rules regarding food in the conference rooms? Any whiteboards, projectors, etc.? Frank Price wrote: > > On Mon, Dec 18, 2000 at 11:14:32AM -0500, David Hempy wrote: > > At 10:28 AM 12/18/2000 -0500, you wrote: > > > > >I am working on a permenant solution. There are several tech focus groups > > >in lex, we need to have it all in the same place time etc for each of them > > >so everyone knows when to show instead of quessing. Im going to ask Prof. > > >Douglas if we can start getting McVey , they have projectors, internet 2, > > >etc. Much nicer than whitehall. > > > > Sounds good. I would like very much to meet at UK on a regular basis. If > > a good permanent room doesn't pan out, let me again mention CKCS. I'm not > > evangelizing or anything, but they have a purpose-built room and schedule > > just for things like this. > > Another possibility, that I'll throw out just for giggles, is a > meeting room at one of the public library branches. The Beaumont > branch's room is pretty nice, and free for us as a non-profit. Not > sure about downtown but I know they have one. > > Further investigation can be made if desired. > > -Frank. -- Wes Sheldahl wsheldahl@qx.net From repett0 at sweb.uky.edu Thu Dec 28 10:56:38 2000 From: repett0 at sweb.uky.edu (Ronald Edward Petty) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: 2d array ? for perl Message-ID: how do u print a 2d array in perl. Somehow i can only print the first word of the first entry doing this while(($line = )) { unless ($line =~ /^#/) { chop($line); @fields = split(/\|/, $line); push(@auth, $fields[0]); push(@memo, $fields[1]); push(@datafile, @fields); } } close(DATAFILE); while(@auth) { print "@datafile[0]"; splice(@auth, 0, 1); splice(@datafile, 0, 1); } I dont really know perl so :( Ron From repett0 at sweb.uky.edu Thu Dec 28 11:03:09 2000 From: repett0 at sweb.uky.edu (Ronald Edward Petty) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: Re: [UKLUG] 2d array ? for perl In-Reply-To: Message-ID: I see said the blind man,... man that was dumb.. im tokenizing it and getting back an array of individual, i want the line before than...errrr ron ps how do u people love perl sometimes.. On Thu, 28 Dec 2000, Ronald Edward Petty wrote: > > how do u print a 2d array in perl. Somehow i can only print the first > word of the first entry doing this > > while(($line = )) > { > unless ($line =~ /^#/) > { > chop($line); > @fields = split(/\|/, $line); > push(@auth, $fields[0]); > push(@memo, $fields[1]); > push(@datafile, @fields); > } > } > close(DATAFILE); > > > while(@auth) > { > print "@datafile[0]"; > splice(@auth, 0, 1); > splice(@datafile, 0, 1); > } > > I dont really know perl so :( > Ron > > > > _______________________________________________ > UKLUG website: http://www.uky.edu/StudentOrgs/UKLUG > UKLUG mailing list addr: Llug@slug.louisville.edu > mailing list info: http://slug.louisville.edu/cgi-bin/mailman/listinfo/llug > From rbowen at rcbowen.com Thu Dec 28 13:25:17 2000 From: rbowen at rcbowen.com (Rich Bowen) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: 2d array ? for perl References: Message-ID: <3A4B939D.8B889CB7@rcbowen.com> Ronald Edward Petty wrote: > > how do u print a 2d array in perl. Somehow i can only print the first > word of the first entry doing this I'm unable to figure out what you are trying to do here, so I suspect that you are making it way harder than it needs to be. This block: while(@auth) { print "@datafile[0]"; splice(@auth, 0, 1); splice(@datafile, 0, 1); } does the same thing repeatedly for each element in @auth. That is clearly not what you want to do. Basically, this block says, for each element in @auth, print the first word of the first element of @datafile. Sort of. Because @datafile[0] is a slice, not an element. If I'm following you at all, you have a data file with |-delimited records, and you're trying to do something with each of those records. But I'm not sure what that something is. -- Rich Bowen -- Director of Web Application Development http://www.cre8tivegroup.com/ -- rich@cre8tivegroup.com Have trouble remembering things? http://www.idforgetmyhead.com/ From repett0 at sweb.uky.edu Thu Dec 28 13:33:10 2000 From: repett0 at sweb.uky.edu (Ronald Edward Petty) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: 2d array ? for perl In-Reply-To: <3A4B939D.8B889CB7@rcbowen.com> Message-ID: > while(@auth) > { > print "@datafile[0]"; > splice(@auth, 0, 1); > splice(@datafile, 0, 1); > } @auth will have the same number of elements as @datafile since @auth is an array of the first | delimited fields from @datafile? Make more since? Ron From rbowen at rcbowen.com Thu Dec 28 13:43:36 2000 From: rbowen at rcbowen.com (Rich Bowen) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: 2d array ? for perl References: Message-ID: <3A4B97E8.22440617@rcbowen.com> Ronald Edward Petty wrote: > > > while(@auth) > > { > > print "@datafile[0]"; > > splice(@auth, 0, 1); > > splice(@datafile, 0, 1); > > } > > @auth will have the same number of elements as @datafile since > @auth is an array of the first | delimited fields from @datafile? Make > more since? Well, yes, I understand that. However, I'm not sure what you're trying to do with those splice lines, and I have no idea what you are trying to display with that print statement. You are aware, I hope, that you're printing the same thing each iteration through the while() loop? $datafile[0] is going to be the same thing no matter when or where you print it. -- Rich Bowen -- Director of Web Application Development http://www.cre8tivegroup.com/ -- rich@cre8tivegroup.com Have trouble remembering things? http://www.idforgetmyhead.com/ From repett0 at sweb.uky.edu Thu Dec 28 13:49:49 2000 From: repett0 at sweb.uky.edu (Ronald Edward Petty) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: 2d array ? for perl In-Reply-To: <3A4B97E8.22440617@rcbowen.com> Message-ID: yea. i figured it out. Sorry i was being lazy to recode my problem to send to u guys, im at work and not supposed to send any code, so i havd to muck it up. ron On Thu, 28 Dec 2000, Rich Bowen wrote: > Ronald Edward Petty wrote: > > > > > while(@auth) > > > { > > > print "@datafile[0]"; > > > splice(@auth, 0, 1); > > > splice(@datafile, 0, 1); > > > } > > > > @auth will have the same number of elements as @datafile since > > @auth is an array of the first | delimited fields from @datafile? Make > > more since? > > Well, yes, I understand that. However, I'm not sure what you're trying > to do with those splice lines, and I have no idea what you are trying to > display with that print statement. You are aware, I hope, that you're > printing the same thing each iteration through the while() loop? > $datafile[0] is going to be the same thing no matter when or where you > print it. > > -- > Rich Bowen -- Director of Web Application Development > http://www.cre8tivegroup.com/ -- rich@cre8tivegroup.com > Have trouble remembering things? http://www.idforgetmyhead.com/ > From fprice at upended.org Thu Dec 28 16:39:26 2000 From: fprice at upended.org (Frank Price) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting In-Reply-To: <3A4AC0C4.C58C715E@qx.net>; from wsheldahl@qx.net on Wed, Dec 27, 2000 at 11:25:40PM -0500 References: <5.0.0.25.0.20001218110908.03cac210@mail.ket.org> <20001227193935.B4283@localhost.localdomain> <3A4AC0C4.C58C715E@qx.net> Message-ID: <20001228173926.A5341@localhost.localdomain> On Wed, Dec 27, 2000 at 11:25:40PM -0500, Wesley wrote: > I like libraries, and would love to meet at any one of them. What are > their rules regarding food in the conference rooms? Any whiteboards, > projectors, etc.? I just asked at the Beaumont branch, and very casually so I don't have lots of details, but there is a kitchen-ish type room available (that is, one can have access to a kitchen from one of the conference rooms). So I'd imagine ordering pizzas would be ok. And since I didn't actually view a room, not sure about whiteboards, but it's hard to imagine they wouldn't have *something* like that. As far as networked rooms with all the goodies, I'll have to check. I'll give them a call and report back. -Frank. -- Frank Price | fprice@upended.org | www.upended.org/fprice/ GPG key: www.upended.org/fprice/gpg.asc | E Pluribus Unix From pstackhouse at ket.org Thu Dec 28 16:51:20 2000 From: pstackhouse at ket.org (Paul Stackhouse) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: This evening's meeting References: <5.0.0.25.0.20001218110908.03cac210@mail.ket.org> <20001227193935.B4283@localhost.localdomain> <3A4AC0C4.C58C715E@qx.net> <20001228173926.A5341@localhost.localdomain> Message-ID: <3A4BC3E8.EDBD7A67@ket.org> Check to make sure there's no limit on the number of times in a year that a group can use the facility. They used to have a rule that said you couldn't meet more than two times in a six month window (or some such formula). They used to try to really discourage groups from making the library their regular meeting location. This was five or six years ago, so perhaps they've reconsidered. -paul Frank Price wrote: > > On Wed, Dec 27, 2000 at 11:25:40PM -0500, Wesley wrote: > > I like libraries, and would love to meet at any one of them. What are > > their rules regarding food in the conference rooms? Any whiteboards, > > projectors, etc.? > > I just asked at the Beaumont branch, and very casually so I don't have > lots of details, but there is a kitchen-ish type room available (that > is, one can have access to a kitchen from one of the conference > rooms). So I'd imagine ordering pizzas would be ok. > > And since I didn't actually view a room, not sure about whiteboards, > but it's hard to imagine they wouldn't have *something* like that. > > As far as networked rooms with all the goodies, I'll have to check. > I'll give them a call and report back. > > -Frank. > -- > Frank Price | fprice@upended.org | www.upended.org/fprice/ > GPG key: www.upended.org/fprice/gpg.asc | E Pluribus Unix -- Paul Stackhouse Webmaster Kentucky Educational TV Voice: 859-258-7135 600 Cooper Drive Fax: 859-258-7399 Lexington, KY 40502 http://www.ket.org From repett0 at sweb.uky.edu Fri Dec 29 14:51:10 2000 From: repett0 at sweb.uky.edu (Ronald Edward Petty) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: unless ($line =~ /^#/) Message-ID: Can someone who knows perlese explain unless ($line =~ /^#/) does this mean do the unless if the line doesn't start with a #?? Im not sure Ron From rbowen at rcbowen.com Fri Dec 29 14:53:27 2000 From: rbowen at rcbowen.com (Rich Bowen) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: unless ($line =~ /^#/) References: Message-ID: <3A4CF9C7.5ED94AEC@rcbowen.com> Ronald Edward Petty wrote: > > Can someone who knows perlese explain > > unless ($line =~ /^#/) > > does this mean do the unless if the line doesn't start with a #?? It means "unless ($line starts with #) ..." Which translates into if the line does not start with #, do the following. unless is the negation of if -- Rich Bowen -- Director of Web Application Development http://www.cre8tivegroup.com/ -- rich@cre8tivegroup.com Have trouble remembering things? http://www.idforgetmyhead.com/ From sungo at qx.net Fri Dec 29 14:47:47 2000 From: sungo at qx.net (Matt Cashner) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: unless ($line =~ /^#/) In-Reply-To: Message-ID: On Fri, 29 Dec 2000, Ronald Edward Petty wrote: > unless ($line =~ /^#/) english translation: if $line does NOT have # as its first character, do the following.... -------- Matt Cashner Web Applications Developer The Creative Group (http://www.cre8tivegroup.com) sungo@earthling.net | Codito, ergo sum From repett0 at sweb.uky.edu Fri Dec 29 14:58:19 2000 From: repett0 at sweb.uky.edu (Ronald Edward Petty) Date: Thu Aug 5 00:05:57 2004 Subject: [UKLUG] Re: LPM: unless ($line =~ /^#/) In-Reply-To: <3A4CF9C7.5ED94AEC@rcbowen.com> Message-ID: so can u do unless() { } else { } and else be the say the opposite? kinda like if. Ron On Fri, 29 Dec 2000, Rich Bowen wrote: > Ronald Edward Petty wrote: > > > > Can someone who knows perlese explain > > > > unless ($line =~ /^#/) > > > > does this mean do the unless if the line doesn't start with a #?? > > It means "unless ($line starts with #) ..." > > Which translates into > > if the line does not start with #, do the following. > > unless is the negation of if > > -- > Rich Bowen -- Director of Web Application Development > http://www.cre8tivegroup.com/ -- rich@cre8tivegroup.com > Have trouble remembering things? http://www.idforgetmyhead.com/ > > > _______________________________________________ > UKLUG website: http://www.uky.edu/StudentOrgs/UKLUG > UKLUG mailing list addr: Llug@slug.louisville.edu > mailing list info: http://slug.louisville.edu/cgi-bin/mailman/listinfo/llug > From grdodson at lexmark.com Fri Dec 29 14:58:45 2000 From: grdodson at lexmark.com (Graydon Dodson) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: unless ($line =~ /^#/) Message-ID: <200012292058.PAA24343@interlock2.lexmark.com> > Can someone who knows perlese explain > > unless ($line =~ /^#/) > > does this mean do the unless if the line doesn't start with a #?? > > Im not sure "unless" can be thought as equivalant to "if !" (if not). Therefore unless ($line =~ /^#/) is the same as if !($line =~ /^#/) or in words; "if $line does not start with a '#'". Hope this helps Graydon Dodson grdodson@lexmark.com Lexmark International Inc. From repett0 at sweb.uky.edu Fri Dec 29 15:02:24 2000 From: repett0 at sweb.uky.edu (Ronald Edward Petty) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: unless ($line =~ /^#/) In-Reply-To: <200012292058.PAA24343@interlock2.lexmark.com> Message-ID: I bow before the perlmongers and say "im not worthy, im not worthy" Thanks alot guys Ron From repett0 at sweb.uky.edu Fri Dec 29 15:51:40 2000 From: repett0 at sweb.uky.edu (Ronald Edward Petty) Date: Thu Aug 5 00:05:57 2004 Subject: LPM: perl:flash Message-ID: anyone mess with that yet... sounds interesting ron From rbowen at rcbowen.com Fri Dec 29 21:13:12 2000 From: rbowen at rcbowen.com (Rich Bowen) Date: Thu Aug 5 00:05:57 2004 Subject: [UKLUG] Re: LPM: unless ($line =~ /^#/) References: Message-ID: <3A4D52C8.92384279@rcbowen.com> Ronald Edward Petty wrote: > > so can u do > unless() > { > } > else > { > } > > and else be the say the opposite? kinda like if. Well, yes, you can do unless, else, but it seems rather backwards. It's good style to program as you would speak or think. unless ... else is potentially confusing, and I would think that it would be a good idea to avoid it. -- Rich Bowen -- Director of Web Application Development http://www.cre8tivegroup.com/ -- rich@cre8tivegroup.com Have trouble remembering things? http://www.idforgetmyhead.com/