From perl at karlnarveson.com Sat Feb 4 05:03:56 2006 From: perl at karlnarveson.com (Karl Narveson) Date: Sat, 04 Feb 2006 07:03:56 -0600 Subject: [Mpls-pm] One tech talk topic fewer In-Reply-To: References: <43CD23FD.9050105@peknet.com> Message-ID: <43E4A63C.8020901@karlnarveson.com> I am still looking forward to giving a Lightning Talk about making a single OO Perl script do the work of twenty. Unfortunately it has come to my attention that @Wednesdays{2006}{Feb} = (1 8 15 22). I am out of town on the 8th. See you in March, I hope. I just looked at mpls.pm.org. Nice page, Dave, but where do we go for the notice of the next meeting? From perl at karlnarveson.com Sat Feb 4 06:48:45 2006 From: perl at karlnarveson.com (Karl Narveson) Date: Sat, 04 Feb 2006 08:48:45 -0600 Subject: [Mpls-pm] One tech talk topic fewer In-Reply-To: <43E4A63C.8020901@karlnarveson.com> References: <43CD23FD.9050105@peknet.com> <43E4A63C.8020901@karlnarveson.com> Message-ID: <43E4BECD.9030204@karlnarveson.com> Whoops, my apologies for using an assignment in Boolean context. Karl Narveson wrote: >I am still looking forward to giving a Lightning Talk about making a >single OO Perl script do the work of twenty. > >Unfortunately it has come to my attention that @Wednesdays{2006}{Feb} = >(1 8 15 22). > >I am out of town on the 8th. See you in March, I hope. > >I just looked at mpls.pm.org. Nice page, Dave, but where do we go for >the notice of the next meeting? > > From autarch at urth.org Mon Feb 6 14:38:52 2006 From: autarch at urth.org (Dave Rolsky) Date: Mon, 6 Feb 2006 16:38:52 -0600 (CST) Subject: [Mpls-pm] This wedneday ... Message-ID: Well, once again I kind of farked up on scheduling and coercing talks. I had the wiki all set up and then had a nice hard drive crash and had to restore from backups, but realized I had not added the wiki to my backups (grr), which is why there's nothing on it but the default right now. So, April, really, I mean it! -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/ From jira0004 at yahoo.com Mon Feb 6 16:05:04 2006 From: jira0004 at yahoo.com (jira0004) Date: Mon, 6 Feb 2006 16:05:04 -0800 (PST) Subject: [Mpls-pm] This wedneday ... In-Reply-To: Message-ID: <20060207000505.27165.qmail@web33901.mail.mud.yahoo.com> I am confused is the Minneapolis Perl Mongers meeting Wednesday, February 8 or Wednesday February 15? Also, where is it this month? Thanks, Regards, Peter Jirak --- Dave Rolsky wrote: > Well, once again I kind of farked up on scheduling > and coercing talks. > > I had the wiki all set up and then had a nice hard > drive crash and had to > restore from backups, but realized I had not added > the wiki to my backups > (grr), which is why there's nothing on it but the > default right now. > > So, April, really, I mean it! > > > -dave > > /*=================================================== > VegGuide.Org > www.BookIRead.com > Your guide to all that's veg. My book blog > ===================================================*/ > _______________________________________________ > Mpls-pm mailing list > Mpls-pm at pm.org > http://mail.pm.org/mailman/listinfo/mpls-pm > From iag17 at hotmail.com Tue Feb 7 11:46:29 2006 From: iag17 at hotmail.com (Larry Anderson) Date: Tue, 07 Feb 2006 13:46:29 -0600 Subject: [Mpls-pm] next meeting Message-ID: An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/mpls-pm/attachments/20060207/a87736ec/attachment.html From gary.vollink at gmail.com Tue Feb 7 13:35:39 2006 From: gary.vollink at gmail.com (Gary Vollink) Date: Tue, 7 Feb 2006 15:35:39 -0600 Subject: [Mpls-pm] next meeting In-Reply-To: References: Message-ID: On 2/7/06, Larry Anderson wrote: > Just curious as to when the next meeting is? and where? Ooh, ooh, me too. I'm curious! From JimSmith at CyberPoet.com Tue Feb 7 14:10:18 2006 From: JimSmith at CyberPoet.com (James Oliver Smith, Jr) Date: Tue, 07 Feb 2006 16:10:18 -0600 Subject: [Mpls-pm] System-context referencing of in-house perl libraries Message-ID: <43E91ACA.5030308@CyberPoet.com> Hi... I have a web-based system that I have developed here at the University of Minnesota which currently runs on Solaris and Debian *nix systems, and now needs to run on MS-XP as well. There is an extensive set of libraries that I use which I want to use on MS-XP systems, as well as on the *nix systems. Currently, I use the following 'use' directories to reference these libraries: ---------------------------------------- use lib "/usr/local/bass/lib"; use lib "/usr/local/bass/alder/lib"; ---------------------------------------- which will not work on MS-XP, which would need something like: ---------------------------------------- 'c:\Program Files\bass\'. ---------------------------------------- What I would really like to be able to do is determine what kind of system the system is running in and then determine which library paths to use, depending on whether it is running on MS-XP or some other systems. Eventually, I would like to run (potentially) multiple test systems, each referencing a different version of the libraries. So, the question is, since the 'use lib' seems to be resolved at compile time, how does one, within perl, reference different library locations (but the same library synchronized via CVS) in a system-context-sensitive manner, without using a predefined environemnt variable? Any suggestions would be appreciated. Jim -- --------- James Oliver Smith, Jr josjr at umn.edu JimSmith at CyberPoet.com 1.612.250.4042 www.cyberpoet.com/JimSmith/ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? From shane at aptest.com Tue Feb 7 14:16:17 2006 From: shane at aptest.com (Shane McCarron) Date: Tue, 07 Feb 2006 16:16:17 -0600 Subject: [Mpls-pm] System-context referencing of in-house perl libraries In-Reply-To: <43E91ACA.5030308@CyberPoet.com> References: <43E91ACA.5030308@CyberPoet.com> Message-ID: <43E91C31.20301@aptest.com> You can put your use lib statements in a BEGIN block... so you can do something like BEGIN { if ($^O eq "MSWin32") { use lib whatever... } else { use lib unixy things } } James Oliver Smith, Jr wrote: > Hi... > > I have a web-based system that I have developed here at the University > of Minnesota which currently runs on Solaris and Debian *nix systems, > and now needs to run on MS-XP as well. > > There is an extensive set of libraries that I use which I want to use on > MS-XP systems, as well as on the *nix systems. > > Currently, I use the following 'use' directories to reference these > libraries: > ---------------------------------------- > use lib "/usr/local/bass/lib"; > use lib "/usr/local/bass/alder/lib"; > ---------------------------------------- > > which will not work on MS-XP, which would need something like: > ---------------------------------------- > 'c:\Program Files\bass\'. > ---------------------------------------- > > What I would really like to be able to do is determine what kind of > system the system is running in and then determine which library paths > to use, depending on whether it is running on MS-XP or some other > systems. Eventually, I would like to run (potentially) multiple test > systems, each referencing a different version of the libraries. > > So, the question is, since the 'use lib' seems to be resolved at compile > time, how does one, within perl, reference different library locations > (but the same library synchronized via CVS) in a > system-context-sensitive manner, without using a predefined environemnt > variable? > > Any suggestions would be appreciated. > > Jim > > > -- Shane P. McCarron Phone: +1 763 786-8160 x120 Managing Director Fax: +1 763 786-8180 ApTest Minnesota Inet: shane at aptest.com From twists at gmail.com Tue Feb 7 14:17:02 2006 From: twists at gmail.com (Joshua ben Jore) Date: Tue, 7 Feb 2006 16:17:02 -0600 Subject: [Mpls-pm] System-context referencing of in-house perl libraries In-Reply-To: <43E91ACA.5030308@CyberPoet.com> References: <43E91ACA.5030308@CyberPoet.com> Message-ID: On 2/7/06, James Oliver Smith, Jr wrote: > Hi... > Ok, so do it programatically. BEGIN happens at compile-time. BEGIN { my @libs = ( "/usr/local/bass/lib", "/usr/local/bass/alder/lib", 'c:\Program Files\bass\...', ..., ); require lib; lib->import( grep -d, @libs ); } Josh From ttausend at gmail.com Tue Feb 7 16:14:45 2006 From: ttausend at gmail.com (Troy E. Hove Tausend) Date: Tue, 7 Feb 2006 18:14:45 -0600 Subject: [Mpls-pm] System-context referencing of in-house perl libraries In-Reply-To: <43E91ACA.5030308@CyberPoet.com> References: <43E91ACA.5030308@CyberPoet.com> Message-ID: <200602071814.45347.ttausend@gmail.com> On Tuesday 07 February 2006 04:10 pm, James Oliver Smith, Jr wrote: > Hi... For the record, your "use lib..." will work as is on MS-Win-whatever with the following caveat: the path listed will be searched for on whatever drive is considered "active" for the application. From a command.com/cmd.exe shell, this will be the drive that is active when you run the Perl executable (or the script if you've set up an association between .pl and Perl (try ftype /? if on NT/XP/200x)). If you make a Windows Link instead, it will be the drive you list for the "Start In" path. Otherwise, all bets are off since Windows (the GUI) seems to be rather scattered itself in this regard. -- Troy E. Hove Tausend ttausend at gmail.com ttausend at mn.rr.com ttausend at hotmail.com From twists at gmail.com Tue Feb 7 21:18:06 2006 From: twists at gmail.com (Joshua ben Jore) Date: Tue, 7 Feb 2006 23:18:06 -0600 Subject: [Mpls-pm] next meeting In-Reply-To: References: Message-ID: On 2/7/06, Larry Anderson wrote: > > Just curious as to when the next meeting is? and where? Tomorrow. Espresso Royale? We've no talks, right? I won't be there; I'm meeting with a friend about some gaming instead. Josh From ian at indecorous.com Wed Feb 8 07:36:17 2006 From: ian at indecorous.com (Ian Malpass) Date: Wed, 8 Feb 2006 15:36:17 +0000 (GMT) Subject: [Mpls-pm] IRC Message-ID: Since I was logged in to irc.perl.org anyway, I just created a #mpls.pm channel. No opbots or anything useful like that, but thought it might be of interest to some of you. Or not. Ian - --------------------------------------------------------------------------- The soul would have no rainbows if the eyes held no tears. Ian Malpass From autarch at urth.org Wed Feb 8 09:53:11 2006 From: autarch at urth.org (Dave Rolsky) Date: Wed, 8 Feb 2006 11:53:11 -0600 (CST) Subject: [Mpls-pm] next meeting In-Reply-To: References: Message-ID: On Tue, 7 Feb 2006, Joshua ben Jore wrote: > > On 2/7/06, Larry Anderson wrote: >> >> Just curious as to when the next meeting is? and where? > > Tomorrow. Espresso Royale? We've no talks, right? I won't be there; > I'm meeting with a friend about some gaming instead. That seems about right. I'm probably not going to go, cause I am really really tired from work stuff this week. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/ From chris at prather.org Wed Feb 8 13:59:43 2006 From: chris at prather.org (chris@prather.org) Date: Wed, 8 Feb 2006 13:59:43 -0800 (PST) Subject: [Mpls-pm] IRC In-Reply-To: References: Message-ID: <37041.167.206.189.3.1139435983.squirrel@webmail.nachbaur.com> > Since I was logged in to irc.perl.org anyway, I just created a #mpls.pm > channel. No opbots or anything useful like that, but thought it might be > of interest to some of you. Or not. > > Ian I can have Bender join if you'd like. -Chris From ian at indecorous.com Wed Feb 8 14:17:04 2006 From: ian at indecorous.com (Ian Malpass) Date: Wed, 8 Feb 2006 22:17:04 +0000 (GMT) Subject: [Mpls-pm] IRC In-Reply-To: <37041.167.206.189.3.1139435983.squirrel@webmail.nachbaur.com> References: <37041.167.206.189.3.1139435983.squirrel@webmail.nachbaur.com> Message-ID: On Wed, 8 Feb 2006 chris at prather.org wrote: >> Since I was logged in to irc.perl.org anyway, I just created a #mpls.pm >> channel. No opbots or anything useful like that, but thought it might be >> of interest to some of you. Or not. >> >> Ian > > I can have Bender join if you'd like. By all means. I mean, creating the channel was just an off-the-cuff thing I thought of this morning. Don't know that any formalisation is needed, but something to keep the channel open so that people know they've come to the right place even if it's empty might be useful :) Ian - --------------------------------------------------------------------------- The soul would have no rainbows if the eyes held no tears. Ian Malpass From ken at mathforum.org Wed Feb 8 20:06:24 2006 From: ken at mathforum.org (Ken Williams) Date: Wed, 8 Feb 2006 22:06:24 -0600 Subject: [Mpls-pm] System-context referencing of in-house perl libraries In-Reply-To: <43E91C31.20301@aptest.com> References: <43E91ACA.5030308@CyberPoet.com> <43E91C31.20301@aptest.com> Message-ID: On Feb 7, 2006, at 4:16 PM, Shane McCarron wrote: > You can put your use lib statements in a BEGIN block... so you can do > something like > > BEGIN { > > if ($^O eq "MSWin32") { > use lib whatever... > } else { > use lib unixy things > } > > } That won't work, actually, because 'use' is a compile-time directive and not sensitive to being inside an if(). Watch this: % perl -le 'if ($x) { use lib "/foo" } else { use lib "/bar" }; print for @INC' /bar /foo /sw/lib/perl5/5.8.1/darwin-thread-multi-2level /sw/lib/perl5/5.8.1 /sw/lib/perl5 ... Personally I'd probably just put all the libs in for good measure, they don't really hurt anything: use lib "/usr/local/bass/lib"; use lib "/usr/local/bass/alder/lib"; use lib 'c:\Program Files\bass\'; But if you don't want to do that, you could use a solution like Josh's, or you could externalize it altogether and make the *caller* specify where the libs live, either through setting the PERL5LIB environment variable or using the -I switch or whatever. -Ken From shemus at visi.com Thu Feb 9 10:26:35 2006 From: shemus at visi.com (shemus) Date: Thu, 9 Feb 2006 12:26:35 -0600 Subject: [Mpls-pm] Kwiki Message-ID: <952378004.20060209122635@visi.com> Hello mpls-pm, The Kwiki is functioning but it has a problem with saving pages. See http://minneapolis.pm.org?SandBox for more details n stuff. -- Best regards, hypochrismutreefuzz mailto:shemus at visi.com From autarch at urth.org Thu Feb 9 10:33:11 2006 From: autarch at urth.org (Dave Rolsky) Date: Thu, 9 Feb 2006 12:33:11 -0600 (CST) Subject: [Mpls-pm] Kwiki In-Reply-To: <952378004.20060209122635@visi.com> References: <952378004.20060209122635@visi.com> Message-ID: On Thu, 9 Feb 2006, shemus wrote: > The Kwiki is functioning but it has a problem with saving pages. > See http://minneapolis.pm.org?SandBox for more details n stuff. Ah, thanks for the heads up. I think I fixed it. -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/ From JimSmith at CyberPoet.com Fri Feb 10 15:02:31 2006 From: JimSmith at CyberPoet.com (James Oliver Smith, Jr) Date: Fri, 10 Feb 2006 17:02:31 -0600 Subject: [Mpls-pm] System-context referencing of in-house perl libraries In-Reply-To: References: <43E91ACA.5030308@CyberPoet.com> Message-ID: <43ED1B87.5060403@CyberPoet.com> Joshua ben Jore ha scritto: > On 2/7/06, James Oliver Smith, Jr wrote: > >>Hi... >> > > > Ok, so do it programatically. BEGIN happens at compile-time. > > BEGIN { > my @libs = ( > "/usr/local/bass/lib", > "/usr/local/bass/alder/lib", > 'c:\Program Files\bass\...', > ..., > ); > > require lib; > lib->import( grep -d, @libs ); > } > > Josh Great! This is working wonderfully. Now for the next multi-platform obstacle I am facing: The #!/perl line at the beginning of my scripts presents a *nix path for the *nix systems, but the apache server running on WinXP doesn't like the *nix path and works only with: #!perl which doesn't work on the *nix systems here, so I am left with writing a script that will modifying the first line of every script, which is easy enough to do, but it would be nice if there was a '#!/perl' format that would work everywhere, like maybe using the path specification on the respective system. Any suggestions? Jim josjr at umn.edu -- --------- James Oliver Smith, Jr josjr at umn.edu JimSmith at CyberPoet.com 1.612.250.4042 www.cyberpoet.com/JimSmith/ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? From twists at gmail.com Sun Feb 19 10:49:27 2006 From: twists at gmail.com (Joshua ben Jore) Date: Sun, 19 Feb 2006 12:49:27 -0600 Subject: [Mpls-pm] PATCH: export/doc fix to B.pm Message-ID: I forgot to send the patch for B.pm as well. It adds the new &sub_generation to @EXPORT_OK and adds B::PVOP to the ascii art drawing in B's pod. All the stuff I edit gets auto-perltidied and I've had to go back and make a clean edit w/o perltidy. Does anyone mind if I allow perltidy to touch this B:: stuff as I'm editing? Josh -------------- next part -------------- A non-text attachment was scrubbed... Name: b.diff Type: text/x-patch Size: 1108 bytes Desc: not available Url : http://mail.pm.org/pipermail/mpls-pm/attachments/20060219/3884bb2d/b.bin From twists at gmail.com Sun Feb 19 10:50:57 2006 From: twists at gmail.com (Joshua ben Jore) Date: Sun, 19 Feb 2006 12:50:57 -0600 Subject: [Mpls-pm] PATCH: export/doc fix to B.pm In-Reply-To: References: Message-ID: On 2/19/06, Joshua ben Jore wrote: > I forgot to send the patch for B.pm as well. Drat! E-mail address autocompletion claims another victim! Josh From ejseim at tech-pro.com Tue Feb 21 11:58:20 2006 From: ejseim at tech-pro.com (Ehren J. Seim) Date: Tue, 21 Feb 2006 13:58:20 -0600 Subject: [Mpls-pm] New Perl contract to hire Message-ID: Should be able to analyze existing PERL scripts written for a previous project, understand the current requirements and then make necessary changes, test and implement it. Location Downtown Minneapolis (large company) Duration 6 Month contract to hire Skills PERL Oracle Unix Java ProC Contact me with any specific questions. Thanks! Ehren J. Seim | Sr. Recruiter 651.634.1411 | 612.385.4068 tech*pro | www.tech-pro.com People Solutions Results <> This electronic mail (including any attachments) may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic email or its contents (including any attachments) by persons other than the intended recipient(s) is strictly prohibited. If you have received this message in error, please notify us immediately by reply email so that we may correct our internal records. Please then delete the original message (including any attachments) in its entirety. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/mpls-pm/attachments/20060221/dd923a0b/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/bmp Size: 16374 bytes Desc: Picture (Metafile) Url : http://mail.pm.org/pipermail/mpls-pm/attachments/20060221/dd923a0b/attachment.bmp From jim at acadcam.com Wed Feb 22 08:46:43 2006 From: jim at acadcam.com (Jim Anderson) Date: Wed, 22 Feb 2006 10:46:43 -0600 Subject: [Mpls-pm] Mainframe communications in Perl? Message-ID: <20060222104643.B9273@acadcam.com> I have a potential need to use a perl program to run an application on a mainframe (using a 3270 protocol) and grabbing some of the screen data that shows up. Does anybody have any idea if this is possible? I'd need to establish a connection, log in, start the remote application, fill in a field, push the request, and then save the results that come back. I would probably want to make multiple data requests in the same session. -- Jim Anderson (612) 782-0456 jim at acadcam.com Anderson CAD/CAM, Inc Lucifer designed MS-DOS to try 2500 Highway 88, Suite 108 men's souls. St Anthony, MN 55418 Then he had a better idea... From twists at gmail.com Wed Feb 22 09:10:41 2006 From: twists at gmail.com (Joshua ben Jore) Date: Wed, 22 Feb 2006 11:10:41 -0600 Subject: [Mpls-pm] Mainframe communications in Perl? In-Reply-To: <20060222104643.B9273@acadcam.com> References: <20060222104643.B9273@acadcam.com> Message-ID: On 2/22/06, Jim Anderson wrote: > I have a potential need to use a perl program to run an application on a > mainframe (using a 3270 protocol) and grabbing some of the screen data > that shows up. > > Does anybody have any idea if this is possible? I'd need to establish a > connection, log in, start the remote application, fill in a field, push > the request, and then save the results that come back. I would probably > want to make multiple data requests in the same session. If nothing else, how about Expect? Josh From jim at acadcam.com Wed Feb 22 09:31:22 2006 From: jim at acadcam.com (Jim Anderson) Date: Wed, 22 Feb 2006 11:31:22 -0600 Subject: [Mpls-pm] Mainframe communications in Perl? In-Reply-To: ; from twists@gmail.com on Wed, Feb 22, 2006 at 11:10:41AM -0600 References: <20060222104643.B9273@acadcam.com> Message-ID: <20060222113122.C9273@acadcam.com> On Wed, Feb 22, 2006 at 11:10:41AM -0600, Joshua ben Jore wrote: > On 2/22/06, Jim Anderson wrote: > > I have a potential need to use a perl program to run an application on a > > mainframe (using a 3270 protocol) and grabbing some of the screen data > > that shows up. > > > > Does anybody have any idea if this is possible? I'd need to establish a > > connection, log in, start the remote application, fill in a field, push > > the request, and then save the results that come back. I would probably > > want to make multiple data requests in the same session. > > If nothing else, how about Expect? Could be. My problem is that the mainframe is somewhere down in Tennessee, and the PCs that would communicate with it are also down there, and I have little to no access to them from here. And I have done no mainframe communications before, so I don't have any idea what I need to do. I'm guessing there's a good chance that if I communicate directly, I'll be needing to do ASCII/EBCDIC conversions, but I don't know if special protocol steps are involved. -- Jim Anderson (612) 782-0456 jim at acadcam.com Anderson CAD/CAM, Inc Lucifer designed MS-DOS to try 2500 Highway 88, Suite 108 men's souls. St Anthony, MN 55418 Then he had a better idea... From shemus at visi.com Tue Feb 28 19:00:01 2006 From: shemus at visi.com (shemus) Date: Tue, 28 Feb 2006 21:00:01 -0600 Subject: [Mpls-pm] Amateur Message-ID: <136340734.20060228210001@visi.com> Hello Mpls-pm, I apologize for posting amateurish and poorly designed/documented code to this list. I must have thought I was on PerlMonks. -- Best regards, hypochrismutreefuzz mailto:shemus at visi.com