From lembark at wrkhors.com Fri Jul 2 17:42:32 2004 From: lembark at wrkhors.com (Steven Lembark) Date: Mon Aug 2 21:28:14 2004 Subject: [Chicago-talk] rename +fs boundries In-Reply-To: References: Message-ID: -- "Dooley, Michael" > is it just me or does anyone else thing that rename should move across > NFS and smb shares? # perldoc -f rename rename OLDNAME,NEWNAME Changes the name of a file; an existing file NEW- NAME will be clobbered. Returns true for success, false otherwise. Behavior of this function varies wildly depending on your system implementation. For example, it will usually not work across file system bound- aries, even though the system mv command sometimes compensates for this. Other restrictions include whether it works on directories, open files, or pre-existing files. Check perlport and either the rename(2) manpage or equivalent system documenta- tion for details. -- Steven Lembark 9 Music Square South, Box 344 Workhorse Computing Nashville, TN 37203 lembark@wrkors.com 1 888 359 3508 From andy at petdance.com Mon Jul 5 21:18:13 2004 From: andy at petdance.com (Andy Lester) Date: Mon Aug 2 21:28:14 2004 Subject: [Chicago-talk] Lightning Talks tomorrow night, July 6th 7pm Message-ID: <20040706021813.GA767@petdance.com> Tomorrow evening, we have a full slate of Lightning Talks from the members of the Chicago Perl Mongers! The meeting will start at 7pm. Talks include (but maybe not in this order): Benchmarking Regular Expressions Pete Krawczyk An Update On The Phalanx Project Andy Lester Data::FormElements Jason Gessner Basset Blog Jim Thomason LiveJournal and six degrees of separation Pete Krawczyk YAML Greg Fast WWW::Mechanize and the public library Leland Johnson Knit 1, Purl 1: Cellular-Automata Knitting Using Perl Elizabeth Cortell TBA John Amundsen Application Development With CGI::Application and HTML::Template Jason Crome I'm especially interested in John Amundsen's talk on TBA! Meetings page: http://chi.pm.org/meetings/ Directions: http://chi.pm.org/wdi-directions.html Beforehand, some of us (at least me and newcomer Jason Crome, from the wilds of DeKalb) will meet at El Famous Burrito about 6pm. It's just a half mile or so from WDI. For you Mapquesters, it's at 230 Hawthorn Village Comm, Vernon Hills, IL. If anyone needs to get his/her slides onto my laptop, please do so ASAP. I will have the slides on my laptop, plus an actual laser pointer for lightning talk officialness! xoxo, Andy -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance From me at heyjay.com Mon Jul 5 21:58:24 2004 From: me at heyjay.com (Jay Strauss) Date: Mon Aug 2 21:28:14 2004 Subject: [Chicago-talk] Data::FormElements??? Message-ID: <000901c46305$1c4840a0$6705a8c0@a30a> Jason et al. Is Data::FormElements a custom module? I can't find it on search.cpan.org Jay From andy at petdance.com Mon Jul 5 22:21:44 2004 From: andy at petdance.com (Andy Lester) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] Data::FormElements??? In-Reply-To: <000901c46305$1c4840a0$6705a8c0@a30a> References: <000901c46305$1c4840a0$6705a8c0@a30a> Message-ID: <9B828570-CEFB-11D8-B3B8-0003934B69E0@petdance.com> On Jul 5, 2004, at 9:58 PM, Jay Strauss wrote: > Jason et al. > > Is Data::FormElements a custom module? I can't find it on > search.cpan.org yes, he hasn't announced it yet. -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance From me at heyjay.com Tue Jul 6 08:17:54 2004 From: me at heyjay.com (Jay Strauss) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] Data::FormElements??? References: <000901c46305$1c4840a0$6705a8c0@a30a> <9B828570-CEFB-11D8-B3B8-0003934B69E0@petdance.com> Message-ID: <006d01c4635b$b416e6b0$6705a8c0@a30a> Ok, thanks Jay ----- Original Message ----- From: "Andy Lester" To: "Chicago.pm chatter" Sent: Monday, July 05, 2004 10:21 PM Subject: Re: [Chicago-talk] Data::FormElements??? > > On Jul 5, 2004, at 9:58 PM, Jay Strauss wrote: > > > Jason et al. > > > > Is Data::FormElements a custom module? I can't find it on > > search.cpan.org > > yes, he hasn't announced it yet. > > -- > Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk@mail.pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > > > From jason at multiply.org Tue Jul 6 13:58:20 2004 From: jason at multiply.org (jason scott gessner) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] Data::Form::Elements Message-ID: <72F3DEC3-CF7E-11D8-A565-00039394FC90@multiply.org> Hi All. Unfortunately, i am not going to be able to make it to the meeting tonight. :( I am bummed, but i am also under deadline pressure. Feh. BUT, i have released the module i was going to give the lightning talk about to the CPAN today. It should show up in a while, but you can get the goods straight from me in the meantime. http://www.multiply.org/notebook/archives/000588.html Basically, Data::Form::Elements is an OO wrapper around Data::FormValidator that gives you a form object with paramaters and validation. The docs in the POD are pretty clear, but here is a short example: use Data::Form::Elements; my $form = Data::Form::Elements->new(); # add a couple elements $form->add_element( "username", { required => 1, errmsg => "Please provide your username." } ); $form->add_element( "password", { required => 1, errmsg => "Please provide your password." } ); ... $form->validate( %ARGS ); if ( $form->is_valid() ) { # continue logging on ... } I would appreciate any feedback, bug reports ,etc. Thanks! -jason scott gessner jason@multiply.org From jonamundsen at discoverfinancial.com Tue Jul 6 14:31:21 2004 From: jonamundsen at discoverfinancial.com (jonamundsen@discoverfinancial.com) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] Rides tonight. Message-ID: Hi All! I apologize for the noise. I have just started a new job, and don't yet have a connection during the day to my regular email account. I believe that I am supposed to pick someone up at the train station today for tonights meeting. Unfortunately I don't have any of the details. If anyone is expecting a ride from me today please contact me @ the number below to make arrangements. (847)331-1365. Regards, Jon Amundsen Senior Associate Discover Financial Services -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/chicago-talk/attachments/20040706/626adf3f/attachment.htm From andy at petdance.com Tue Jul 6 23:45:01 2004 From: andy at petdance.com (Andy Lester) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] Recap of tonight's meeting / Member directory Message-ID: <681DD26F-CFD0-11D8-8164-000393CD7BD6@petdance.com> What a great bunch of talks we had! We had both useful (benchmarking regular expressions) and obscure (knitting as cellular automata) and everything else in between. Thanks to everyone who spoke. I'll try to have slides up in the next day or two, as well as Elizabeth's knitting code. The August talk will be me, talking about the mysterious -T flag and why it's important to anything you do that involves input from the outside world. I'm working on getting author Reuven Lerner to talk to us for September. I've updated the member directory page a bit: http://chicago.pm.org/members.html I've added my AIM address, because I've found AIM to be a tremendous way to have help at hand. If anyone has changes to their information, or you'd like me to add your instant message ID to your listing, please let me know in email. xoa -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance From jt at plainblack.com Fri Jul 9 17:27:42 2004 From: jt at plainblack.com (JT Smith) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] $$$ conference lecture opportunities Message-ID: Plain Black (my company) will be holding our WebGUI (plainblack.com/webgui) conference in Chicago this year at the end of October. We're looking for qualified experts to come in and give lectures/seminars on Perl, Apache, MySQL, and Linux. We have volunteer openings as well as paid spots. What we pay you will depend upon your qualifications, subject matter, and length of presentation (or presentations). The fee is negotiable. Specific subjects we'd like to cover with experts are: Apache security Apache performance tuning MySQL performance tuning Scalability with LAMP (Linux/Apache/MySQL/Perl) including clustering, load balancing, etc. Linux security Linux performance tuning as a web application server Intro to Perl Writing tests (load, error, security) in Perl Using Perl for system administration If you have an alternate topic that you think might be useful to our users feel free to bring it up. Other topics we cover will be WebGUI programming, administration, security, scalability, templating, etc. As well as some general web design topics. Everyone that presents (whether paid or not) will get in to the conference for free, and get all of the conference freebies (food, shirts, pens, backpacks, hats, and other schwag) for free. Feel free to pass this email along to people who may be interested. Contact me (jt@plainblack.com) if you're interested. You must be able to prove your qualifications (work history, books, articles, training certifications, etc) to present on any of these topics. JT ~ Plain Black Create like a god, command like a king, work like a slave. From lembark at cognia.com Sun Jul 11 22:04:32 2004 From: lembark at cognia.com (Steven Lembark) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] Review: High Performance MySQL Message-ID: Book would be good reading for anyone trying to manage a non-trivial LAMP site. -- Steven Lembark 117 E. 55th Cognia NY, NY 10022 212 331 7844 -------------- next part -------------- Review of __High Performance MySQL__ Jeremy Zawodny & Derek Balling O'Reilly Press, 2004 MySQL is far less painful than most databases to manage and use. The good thing about this is that you can use it. The bad thing is that many people get rather far into using it well before they really understand how to use it properly -- by which time it's too late. There are any number of good introductory books available on MySQL which describe daily operations and SQL. The problem with introductions is that they do not describe how things really work, why you'd care, or what to do about it. This is especially true of performance issues, which usually involve a combination of internals, usage, and research to manage. The authors of High Performance MySQL ask for "a little more Patience and time commitment than the average introductory computer book." They aren't kidding. Fortunately this is not another introductory book and really does describe enough internals, usage, and examples to help manage performance. They also describe it all with a readable style that avoided using up my patience on their text. The chapters are broken down into five main sections, from basics through benchmarking and indexes, tuning, scalability, and replication and load-balancing. Most people dealing with day-to-day issues can probably get what they need from the first three (Chapters 1-6) -- load balancing, high-availability start to get esoteric for many sites with single servers. The last two chapters on backups and security might seem out of place in a book on "performance". The authors do a good job of pointing out, however, that a down or corrupt database is not performing well, and that backups or tighter security can affect performance in themselves. The Basics chapter is quite short and covers some minimal topics for configuring or viewing the database status. If this chapter doesn't fall well into the "obvious" category it will probably be worth taking time to read a real introduction before tackling the rest of this book. Storage Engines is a nice combination of theory and practice, with examples specific-enough be useful. One of MySQL's strengths is handling multiple underlying data storage engines. Choosing between them is a source of confusion, however, since many users don't know enough about the choices to make good ones. This chapter does a good job clearing the mist by describing not only the engines themselves but baseline requirements for an "ACID" database, and isolation levels. Short examples of various uses include stock quotes, log summary, order processing, and bulletin boards. The examples are specific enough to illustrate differences in the storage engines without bogging down in detail. Chapter three covers benchmarking, including summaries of three available tools for both benchmarking and stress- testing database configurations. The chapters on indexes, query performance, and server performance will be useful even to experienced DBA's. The information includes index types and their foibles, how indexes are used in queries, cache management, the optimizer, identifying slow queries, hints, and operating system/server issues. Examples on how MySQL uses indexes, where they help/hurt performance, and workarounds will be useful to anyone trying to design a scalable MySQL database. Chapters seven and eight describe replication and load balancing. They are well-written, but won't apply to directly managers on a with a single computer. They will be worth a skim for managers of growing sites, however, since there are good descriptions of when replication can help. Backup and recovery is worth reading by anyone who runs a MySQL site. Even small(ish) sites can benefit from good backups -- or ones that don't interfere with normal operations. Various strategies for cold and hot backups are compared, along with decent descriptions of how to restore the databases. Security is the last main chapter in the book and is more about operational issues than the others. Aside from some affects of encryption, this chapter is about keeping the database up and clean rather than making it run faster. There is a good description of Host Matching in the privilege system, the tables involved with security, and how to manage it. If nothing else, reading this will avoid sites granting all privileges by default in order to avoid figuring out which ones are necessary. The tradeoffs between user-level encryption and other options are also discussed. The appendixes include the status commands, mytop, and a php-based administration tool. The analysis of MySQL and Innodb show statistics is helpful -- largely because the latter provides a huge amount of information and lacks a 'verbose' option to leave any of it off. In phpMyAdmin, the practical examples start to drift back into the usual "Introduction to..." level and probably could have had more on the performance data that phpMyAdmin includes. One thing I'd have liked, given MySQL's common use, is any discussion of the various interfaces available to it and how well they perform in different situations. C, C++, DBI, ODBC, and JDBC interfaces are readily available for MySQL and -- from what I've seen -- vary enormously in their performance on the same database. Admittedly this falls more into a "programming" book, but many (most?) MySQL DBA's are managing LAMP systems and at least some discussion of the their language needs would have been helpful. Overall, the book was detailed enough to be useful, readable enough to finish, contained examples that helped me at work, and was worth the patience to finish. From gfast at brunswickwdi.com Mon Jul 12 12:19:44 2004 From: gfast at brunswickwdi.com (Greg Fast) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] CANCELED: Meeting for Thurs, July 15 2004 Message-ID: OSS Chicago (scheduled for Thursday, June 15) will NOT BE MEETING this week, since this month's speaker had an emergency situation. This month's talk (Jeff De Pons, "Open Source Business Integration") has been rescheduled for Thursday, September 16. Our next meeting will be Thursday, August 19, at 7:00pm (doors open at 6:30pm). The talk will be by David Lucek on the ACE Framework. See http://osschicago.com for more information. Again, this month's OSS Chicago meeting scheduled for Thursday is canceled. -- Greg Fast, WDI gfast@brunswickwdi.com +1 847 970 6836 200 Fairway Dr. Unit 184 Vernon Hills, IL 60061 ############################################################# This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to From andy at petdance.com Tue Jul 13 22:39:27 2004 From: andy at petdance.com (Andy Lester) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] Lightning talk slides are up Message-ID: <683808E0-D547-11D8-8EA0-000393CD7BD6@petdance.com> Materials from the Lightning Talks are now available at http://chicago.pm.org/meetings/20040706/ Members page has been updated. xoxo, Andy -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance From Andy_Bach at wiwb.uscourts.gov Wed Jul 14 11:14:58 2004 From: Andy_Bach at wiwb.uscourts.gov (Andy_Bach@wiwb.uscourts.gov) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] /i resets $1 on failed matches? Message-ID: Hi folks, [From a couple other lists we have the question] >> Does anyone know how I can get just the IP address out from lots of entries, >> below is just two of them, there is about 2000 like this. Is there a flash >> grep which can be used? bash-2.03$ cat b.txt job_xml Ssnmp10.138.150.188161snmp10.97.17.21161> Just need the Ip address. > This is the answer that was sent in: cat b.txt | perl -ne '/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/i; print "$1\n" if $1;' > Now my question.... why did I need to put the "i" at the end of the regex? > Without it, the script produced: 10.138.150.188 10.138.150.188 10.138.150.188 10.138.150.188 10.97.17.21 10.97.17.21 > with it, it produced: 10.138.150.188 10.97.17.21 [end other list quotes] I pointed out that: cat b.txt | perl -ne 'print "$1\n" if /(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/;' was a slightly "better" idea, as $1 wasn't being reset on a failed match and so existed/causes the print. I can't find where/why the /i resets $1 on a failed matches though. The "Owls" book does talk about the expense and copies made with '/i' and how it ends up w/ at least 2 REs (original and a lower case version) but I don't have a debug version of perl to try -Dr on to see the difference (assuming I could understand the output). Anybody have an answer? a Andy Bach, Sys. Mangler Internet: andy_bach@wiwb.uscourts.gov VOICE: (608) 261-5738 FAX 264-5932 Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald Knuth From jason at multiply.org Wed Jul 14 12:06:32 2004 From: jason at multiply.org (jason scott gessner) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] OT: gear for sale Message-ID: <2792131A-D5B8-11D8-A371-00039394FC90@multiply.org> Hi all. Going to post this machine up to ebay if no one else is interested, but i figured i would rather have it go to someone i know than a stranger. I have a Quantum Snap Server M4100 with 4 IBM DeskStar 60GB drives in it (the drives can be taken out and replaced with other drives. The current setup is raid 5 and gives me ~ 170 GB of usable space). This is a SAN device, so it has a power plug and ethernet jack in the back and supports AppleTalk, Samba, NFS web and ftp (i think, not sure on the ftp). If anyone is interested, email me off the list with an offer. -jason scott gessner jason@multiply.org From lembark at wrkhors.com Wed Jul 14 13:01:39 2004 From: lembark at wrkhors.com (Steven Lembark) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] /i resets $1 on failed matches? In-Reply-To: References: Message-ID: <518725D5E40A667337A30FA2@duke.wrkhors.com> > cat b.txt | > perl -ne '/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/i; > print "$1\n" if $1;' > Obviously someone out there needs to see Andy's command line talk before using 'cat' with 'perl -n'... > Anybody have an answer? Regex bug. Damian's attempt to shoehorn parts of the P6 regex behavior into 5.8 resulted in quite a few bug reports (5.8.5, comming out this week, should offer an improvement). Aside from that there is no reason /i should affect the outcome of the regex match variables. /g and /m can do things based on finding repeating matches throughout the process but those are related to iterative behavior of the match, not how the individual matches are arrived at. -- Steven Lembark 9 Music Square South, Box 344 Workhorse Computing Nashville, TN 37203 lembark@wrkhors.com 1 888 359 3508 From thomasoniii at gmail.com Fri Jul 16 12:50:57 2004 From: thomasoniii at gmail.com (Jim Thomason) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] OT - gmail Message-ID: <5cfdfaf704071610501552df5c@mail.gmail.com> Anybody on here want a google gmail account? Figured I might as well try and burn off a few more invites. mail me off list if you'd like one and I'll hook you up. May take a little while if I get deluged with requests. -Jim.......... From stouloumis at tungstenlearning.com Mon Jul 19 22:17:40 2004 From: stouloumis at tungstenlearning.com (Stathy G Touloumis) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] OT - gmail In-Reply-To: <5cfdfaf704071610501552df5c@mail.gmail.com> References: <5cfdfaf704071610501552df5c@mail.gmail.com> Message-ID: <6.0.1.1.0.20040719221717.03632e30@mail.tungstenlearning.com> >Anybody on here want a google gmail account? Figured I might as well >try and burn off a few more invites. > >mail me off list if you'd like one and I'll hook you up. May take a >little while if I get deluged with requests. Send me an invite From gdf at speakeasy.net Wed Jul 21 13:03:04 2004 From: gdf at speakeasy.net (Greg Fast) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] WDI's impending office move and implications thereof Message-ID: <200407211803.i6LI35Qg000806@www.pm.org> Sadly, I got confirmation this week that the meta-divison of Brunswick which contains WDI is consolidating all of its divisions into a single facility. This means that the September meeting is the last one WDI will be able to host in the Vernon Hills space. I've been told there's basically no way we'll be allowed to host user group meetings like Chicago.pm in the new office building. So I guess we need to start the "where should we meet" discussion again... -- Greg Fast http://cken.chi.groogroo.com/~gdf/ From andy at petdance.com Wed Jul 21 13:40:07 2004 From: andy at petdance.com (Andy Lester) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] WDI's impending office move and implications thereof In-Reply-To: <200407211803.i6LI35Qg000806@www.pm.org> References: <200407211803.i6LI35Qg000806@www.pm.org> Message-ID: <20040721184007.GA27802@petdance.com> On Wed, Jul 21, 2004 at 01:03:04PM -0500, Greg Fast (gdf@speakeasy.net) wrote: > This means that the September meeting is the last one WDI will be able > to host in the Vernon Hills space. I've been told there's basically > no way we'll be allowed to host user group meetings like Chicago.pm in > the new office building. Thanks for letting us know, and thanks so much for all that WDI has done for us the past few months that we've been there. I know all of us appreciate it. xoa -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance From lembark at wrkhors.com Wed Jul 21 13:42:17 2004 From: lembark at wrkhors.com (Steven Lembark) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] WDI's impending office move and implications thereof In-Reply-To: <200407211803.i6LI35Qg000806@www.pm.org> References: <200407211803.i6LI35Qg000806@www.pm.org> Message-ID: <182F7DECFF285CFF47F90CEB@duke.wrkhors.com> > So I guess we need to start the "where should we meet" discussion > again... Might want to ask if there is any way in hell someone could get their hands on a projector. That would give a bit more flexability on where to meet. -- Steven Lembark 9 Music Square South, Box 344 Workhorse Computing Nashville, TN 37203 lembark@wrkhors.com 1 888 359 3508 From jt at plainblack.com Wed Jul 21 13:02:38 2004 From: jt at plainblack.com (JT Smith) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] WDI's impending office move and implications thereof In-Reply-To: <182F7DECFF285CFF47F90CEB@duke.wrkhors.com> Message-ID: I have a sort of crappy projector I'd be willing to bring to perl mongers on the months that I come. It projects fine, but it overheats if left on over an hour and starts to get some funky colors as a result. Also, sometimes the fan is loud. It's not much, but it's better than huddling around a laptop screen. On Wed, 21 Jul 2004 14:42:17 -0400 Steven Lembark wrote: > >> So I guess we need to start the "where should we meet" discussion >> again... > >Might want to ask if there is any way in hell someone could get >their hands on a projector. That would give a bit more flexability >on where to meet. > >-- >Steven Lembark 9 Music Square South, Box 344 >Workhorse Computing Nashville, TN 37203 >lembark@wrkhors.com 1 888 359 3508 >_______________________________________________ >Chicago-talk mailing list >Chicago-talk@mail.pm.org >http://mail.pm.org/mailman/listinfo/chicago-talk JT ~ Plain Black Create like a god, command like a king, work like a slave. From crome at devnetinc.com Wed Jul 21 13:55:25 2004 From: crome at devnetinc.com (Jason A. Crome) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] WDI's impending office move and implicationsthereof In-Reply-To: <182F7DECFF285CFF47F90CEB@duke.wrkhors.com> Message-ID: <20040721180539.4E4652000308@beowulf.devnetinc.com> We have a projector here. . . If we can't find a location with a projector, I can likely bring ours to a meeting as long as our marketing staff doesn't have it on the road with them. -------------------------------------------------- Jason A. Crome Senior Software Engineer, DEVNET, Inc. E-Mail: crome@devnetinc.com http://www.devnetinc.com > -----Original Message----- > From: chicago-talk-bounces@mail.pm.org > [mailto:chicago-talk-bounces@mail.pm.org] On Behalf Of Steven Lembark > Sent: Wednesday, July 21, 2004 1:42 PM > To: Chicago.pm chatter > Subject: Re: [Chicago-talk] WDI's impending office move and > implicationsthereof > > > > So I guess we need to start the "where should we meet" discussion > > again... > > Might want to ask if there is any way in hell someone could get > their hands on a projector. That would give a bit more flexability > on where to meet. > > -- > Steven Lembark 9 Music Square South, Box 344 > Workhorse Computing Nashville, TN 37203 > lembark@wrkhors.com 1 888 359 3508 > _______________________________________________ > Chicago-talk mailing list > Chicago-talk@mail.pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From lembark at wrkhors.com Wed Jul 21 16:35:27 2004 From: lembark at wrkhors.com (Steven Lembark) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] Perl 5.8.5 is out (fwd) Message-ID: ---------- Forwarded Message ---------- From: Stas Bekman Subject: Perl 5.8.5 is out > See this thread for more details of why you may want to upgrade to this > Perl version: > http://marc.theaimsgroup.com/?t=108979157900009&r=1&w=2 > > -------- Original Message -------- > Subject: 5.8.5 > Date: Mon, 19 Jul 2004 23:21:47 +0100 > From: Nicholas Clark > To: perl5-porters@perl.org > > Yews are relatively slow growing trees, widely used in landscaping > and > ornamental horticulture. They have flat, dark-green needles, reddish > bark, and bear seeds with red arils, which are eaten by thrushes, > waxwings and other birds, dispersing the hard seeds undamaged in > their > droppings. Yew wood is reddish brown (with white sapwood), and very > hard. It was traditionally used to make bows, especially the English > longbow. > > In England, the Common Yew (Taxus baccata, also known as English > Yew) is > often found in churchyards. It is sometimes suggested that these are > placed there as a symbol of long life or trees of death, and some are > likely to be over 3,000 years old. It is also suggested that yew > trees > may have a pre-Christian association with old pagan holy sites, and > the > Christian church found it expedient to use and take over existing > sites. Another explanation is that the poisonous berries and foliage > discourage farmers and drovers from letting their animals wander into > the burial grounds. The yew tree is a frequent symbol in the > Christian > poetry of T.S. Eliot, especially his Four Quartets. > > (From Wikipedia) > > http://opensource.fotango.com/~nclark/perl-5.8.5.tar.bz2 > > (or s/bz2$/gz/ if you really want a 25% larger download.) > > coming soon to a CPAN mirror near you soon as > > ftp://ftp.perl.org/pub/CPAN/src/perl-5.8.5.tar.bz2 > > md5sums are > > 9db6be76aa275f415d75c224ad1d4029 perl-5.8.5.tar.bz2 > 49baa8d7d29b4a9713c06edeb81e6b1b perl-5.8.5.tar.gz > > > A use.perl announcement will follow once the tarballs have had time to > propagate. > > Nicholas Clark > > -- > Report problems: http://perl.apache.org/bugs/ > Mail list info: http://perl.apache.org/maillist/modperl.html > List etiquette: http://perl.apache.org/maillist/email-etiquette.html > ---------- End Forwarded Message ---------- -- Steven Lembark 9 Music Square South, Box 344 Workhorse Computing Nashville, TN 37203 lembark@wrkhors.com 1 888 359 3508 From me at heyjay.com Wed Jul 21 22:54:53 2004 From: me at heyjay.com (Jay Strauss) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] CPAN on windows? Message-ID: <00d001c46fa0$5e8017c0$6705a8c0@a30a> Hi, I have a windows box at work. I wanted to upgrade the KWIKI I installed on it. Anyway, can I use cpan (the script) on windows? I can't seem to get it to work, and don't know if it's me or an impossibility Thanks Jay From easyasy2k at gmail.com Thu Jul 22 01:01:16 2004 From: easyasy2k at gmail.com (Leland Johnson) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] CPAN on windows? In-Reply-To: <00d001c46fa0$5e8017c0$6705a8c0@a30a> References: <00d001c46fa0$5e8017c0$6705a8c0@a30a> Message-ID: <2df270ef04072123014199c4a2@mail.gmail.com> The problem isn't usually the script on windows, it's the lack of executables (make, gzip, etc) I ended up installing UnxUtils http://unxutils.sourceforge.net/ and everything worked fine on ActivePerl after that. - Leland Johnson From zrusilla at yahoo.com Thu Jul 22 07:56:59 2004 From: zrusilla at yahoo.com (Elizabeth Cortell) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] This would never have happened with Perl Message-ID: <20040722125659.96579.qmail@web41215.mail.yahoo.com> 15-foot obfu regex attacks Perl hacker, maybe, but not this. http://www.wftv.com/family/3563751/detail.html __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail From thomasoniii at gmail.com Thu Jul 22 08:44:22 2004 From: thomasoniii at gmail.com (Jim Thomason) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] This would never have happened with Perl In-Reply-To: <20040722125659.96579.qmail@web41215.mail.yahoo.com> References: <20040722125659.96579.qmail@web41215.mail.yahoo.com> Message-ID: <5cfdfaf70407220644363deafd@mail.gmail.com> What's the appropriate joke? Obviously the kid didn't realize that the spacing around the python was significant. ba dum bum. -Jim..... On Thu, 22 Jul 2004 05:56:59 -0700 (PDT), Elizabeth Cortell wrote: > 15-foot obfu regex attacks Perl hacker, maybe, but not > this. > > http://www.wftv.com/family/3563751/detail.html > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - 100MB free storage! > http://promotions.yahoo.com/new_mail > _______________________________________________ > Chicago-talk mailing list > Chicago-talk@mail.pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From lembark at wrkhors.com Thu Jul 22 10:11:58 2004 From: lembark at wrkhors.com (Steven Lembark) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] CPAN on windows? In-Reply-To: <2df270ef04072123014199c4a2@mail.gmail.com> References: <00d001c46fa0$5e8017c0$6705a8c0@a30a> <2df270ef04072123014199c4a2@mail.gmail.com> Message-ID: <5047E9E4D9078ADA6A03CFD1@duke.wrkhors.com> -- Leland Johnson > The problem isn't usually the script on windows, it's the lack of > executables (make, gzip, etc) I ended up installing UnxUtils > http://unxutils.sourceforge.net/ > and everything worked fine on ActivePerl after that. That or use cygwin. -- Steven Lembark 9 Music Square South, Box 344 Workhorse Computing Nashville, TN 37203 lembark@wrkhors.com 1 888 359 3508 From lembark at wrkhors.com Thu Jul 22 10:14:04 2004 From: lembark at wrkhors.com (Steven Lembark) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] This would never have happened with Perl In-Reply-To: <20040722125659.96579.qmail@web41215.mail.yahoo.com> References: <20040722125659.96579.qmail@web41215.mail.yahoo.com> Message-ID: <9FD4DE438E2264E80F9BF3A8@duke.wrkhors.com> -- Elizabeth Cortell > 15-foot obfu regex attacks Perl hacker, maybe, but not > this. > > http://www.wftv.com/family/3563751/detail.html But, then, none of us would be dumb enough to keep a 15-foot regex as a pet. -- Steven Lembark 9 Music Square South, Box 344 Workhorse Computing Nashville, TN 37203 lembark@wrkhors.com 1 888 359 3508 From zrusilla at yahoo.com Thu Jul 22 11:46:19 2004 From: zrusilla at yahoo.com (Elizabeth Cortell) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] This would never have happened with Perl In-Reply-To: <9FD4DE438E2264E80F9BF3A8@duke.wrkhors.com> Message-ID: <20040722164619.4089.qmail@web41213.mail.yahoo.com> You sure about that? I don't put it past the Obfu crowd. --- Steven Lembark wrote: > But, then, none of us would be dumb enough to keep a > 15-foot regex as a pet. __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail From me at heyjay.com Thu Jul 22 22:22:14 2004 From: me at heyjay.com (Jay Strauss) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] CPAN on windows? References: <00d001c46fa0$5e8017c0$6705a8c0@a30a> <2df270ef04072123014199c4a2@mail.gmail.com> Message-ID: <012101c47064$40e44a00$6705a8c0@a30a> No joy with unxutils. Have you used it successfully? I don't think using cygwin will work in my situation, because I'm running apache on the windows (XP I think, maybe NT) box, and running my wiki. If I use cygwin then all the modules will be built under the cygwin directory structure and not the windows, structure Jay ----- Original Message ----- From: "Leland Johnson" To: "Chicago.pm chatter" Sent: Thursday, July 22, 2004 1:01 AM Subject: Re: [Chicago-talk] CPAN on windows? > The problem isn't usually the script on windows, it's the lack of > executables (make, gzip, etc) I ended up installing UnxUtils > http://unxutils.sourceforge.net/ > and everything worked fine on ActivePerl after that. > > - Leland Johnson > _______________________________________________ > Chicago-talk mailing list > Chicago-talk@mail.pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > > > From frag at ripco.com Fri Jul 23 08:43:43 2004 From: frag at ripco.com (Mike Fragassi) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] CPAN on windows? In-Reply-To: <012101c47064$40e44a00$6705a8c0@a30a> References: <00d001c46fa0$5e8017c0$6705a8c0@a30a> <2df270ef04072123014199c4a2@mail.gmail.com> <012101c47064$40e44a00$6705a8c0@a30a> Message-ID: On Wed, 21 Jul 2004, Jay Strauss wrote: > Anyway, can I use cpan (the script) on windows? I can't seem > to get it to work, and don't know if it's me or an impossibility What errors do you get? -- Mike F. From zrusilla at yahoo.com Fri Jul 23 09:50:12 2004 From: zrusilla at yahoo.com (Elizabeth Cortell) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] Opinions please: which smells worse? Message-ID: <20040723145012.60333.qmail@web41205.mail.yahoo.com> Which smells worse, a wet dog or a wet Perl hacker? __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail From andy at petdance.com Fri Jul 23 10:13:41 2004 From: andy at petdance.com (Andy Lester) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] Opinions please: which smells worse? In-Reply-To: <20040723145012.60333.qmail@web41205.mail.yahoo.com> References: <20040723145012.60333.qmail@web41205.mail.yahoo.com> Message-ID: <20040723151341.GA1351@petdance.com> On Fri, Jul 23, 2004 at 07:50:12AM -0700, Elizabeth Cortell (zrusilla@yahoo.com) wrote: > Which smells worse, a wet dog or a wet Perl hacker? I don't mind wet dog that much. I do have a problem with many tightly-enclosed geeks, though. xoa -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance From jay at allstrauss.com Fri Jul 23 11:20:11 2004 From: jay at allstrauss.com (Your Name) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] CPAN on windows? Message-ID: Mike, I can't post to the group from this machine (maybe you can pass it along). But I installed "unxutils" from unxutils.sourceforge.com I'm just trying to get cpan to work. so I did: cpan> install Bundle::CPAN CPAN: Storable loaded ok Going to read \.cpan\Metadata Database was generated on Fri, 23 Jul 2004 14:12:42 GMT Subroutine new redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 34, lin e 1. Subroutine _request_sanity_check redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 112, line 1. Subroutine send_request redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 132, line 1. Subroutine prepare_request redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 2 38, line 1. Subroutine simple_request redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 26 1, line 1. Subroutine request redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 270, line 1. Subroutine get redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 394, li ne 1. Subroutine post redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 402, l ine 1. Subroutine head redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 410, l ine 1. Subroutine _process_colonic_headers redefined at C:/Perl/site/lib/LWP\UserAgent. pm line 418, line 1. Subroutine is_protocol_supported redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 472, line 1. Subroutine protocols_allowed redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 499, line 1. Subroutine protocols_forbidden redefined at C:/Perl/site/lib/LWP\UserAgent.pm li ne 500, line 1. Subroutine requests_redirectable redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 501, line 1. Subroutine redirect_ok redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 505, line 1. Subroutine credentials redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 531, line 1. Subroutine get_basic_credentials redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 538, line 1. Subroutine agent redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 551, line 1. Subroutine _agent redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 563, line 1. Subroutine timeout redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 565, line 1. Subroutine parse_head redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 567, < FIN> line 1. Subroutine max_size redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 568, line 1. Subroutine max_redirect redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 569, line 1. Subroutine cookie_jar redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 572, < FIN> line 1. Subroutine conn_cache redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 587, < FIN> line 1. Subroutine use_eval redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 603, line 1. Subroutine use_alarm redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 605, line 1. Subroutine clone redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 613, line 1. Subroutine mirror redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 630, line 1. Subroutine proxy redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 685, line 1. Subroutine env_proxy redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 699, line 1. Subroutine no_proxy redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 722, line 1. Subroutine _need_proxy redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 736, line 1. Subroutine _new_response redefined at C:/Perl/site/lib/LWP\UserAgent.pm line 760 , line 1. CPAN: LWP::UserAgent loaded ok Fetching with LWP: ftp://mirrors.kernel.org/pub/CPAN/authors/id/A/AN/ANDK/CPAN- 1.76.tar.gz CPAN: Digest::MD5 loaded ok Fetching with LWP: ftp://mirrors.kernel.org/pub/CPAN/authors/id/A/AN/ANDK/CHECKSUMS CPAN: Compress::Zlib loaded ok Checksum for \.cpan\sources\authors\id\A\AN\ANDK\CPAN-1.76.tar.gz ok Scanning cache \.cpan\build for sizes CPAN-1.76/ CPAN-1.76/lib/ CPAN-1.76/lib/CPAN.pm CPAN-1.76/lib/CPAN/ CPAN-1.76/lib/CPAN/Admin.pm CPAN-1.76/lib/CPAN/Nox.pm CPAN-1.76/lib/CPAN/FirstTime.pm CPAN-1.76/lib/Bundle/ CPAN-1.76/lib/Bundle/CPAN.pm CPAN-1.76/t/ CPAN-1.76/t/loadme.t CPAN-1.76/t/vcmp.t CPAN-1.76/t/signature.t CPAN-1.76/t/mirroredby.t CPAN-1.76/t/Nox.t CPAN-1.76/PAUSE2003.pub CPAN-1.76/MANIFEST CPAN-1.76/MANIFEST.SKIP CPAN-1.76/scripts/ CPAN-1.76/scripts/cpan CPAN-1.76/META.yml CPAN-1.76/BUNDLE/ CPAN-1.76/BUNDLE/Test/ CPAN-1.76/BUNDLE/Test/Builder.pm CPAN-1.76/BUNDLE/Test/More.pm CPAN-1.76/Todo CPAN-1.76/ChangeLog CPAN-1.76/Changes.old CPAN-1.76/Makefile.PL CPAN-1.76/README CPAN-1.76/SIGNATURE gzip: stdout: Broken pipe The bundle file "\.cpan\Bundle\CPAN.pm" may be a broken bundlefile. It seems not to contain any bundle definition. Please check the file and if it is bogus, please delete it. Sorry for the inconvenience. The bundle file "\.cpan\Bundle\CPAN.pm" may be a broken bundlefile. It seems not to contain any bundle definition. Please check the file and if it is bogus, please delete it. Sorry for the inconvenience. The bundle file "\.cpan\Bundle\CPAN.pm" may be a broken bundlefile. It seems not to contain any bundle definition. Please check the file and if it is bogus, please delete it. Sorry for the inconvenience. The bundle file "\.cpan\Bundle\CPAN.pm" may be a broken bundlefile. It seems not to contain any bundle definition. Please check the file and if it is bogus, please delete it. Sorry for the inconvenience. cpan> > > On Wed, 21 Jul 2004, Jay Strauss wrote: > > > Anyway, can I use cpan (the script) on windows? I can't seem > > to get it to work, and don't know if it's me or an impossibility > > What errors do you get? > > -- Mike F. > _______________________________________________ > Chicago-talk mailing list > Chicago-talk@mail.pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > > -- From lembark at wrkhors.com Fri Jul 23 12:15:42 2004 From: lembark at wrkhors.com (Steven Lembark) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] Opinions please: which smells worse? In-Reply-To: <20040723145012.60333.qmail@web41205.mail.yahoo.com> References: <20040723145012.60333.qmail@web41205.mail.yahoo.com> Message-ID: -- Elizabeth Cortell > Which smells worse, a wet dog or a wet Perl hacker? Perl hacker: the dog wouldn't spill beer all over itself. -- Steven Lembark 9 Music Square South, Box 344 Workhorse Computing Nashville, TN 37203 lembark@wrkhors.com 1 888 359 3508 From frag at ripco.com Fri Jul 23 15:40:15 2004 From: frag at ripco.com (Mike Fragassi) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] CPAN on windows? In-Reply-To: References: Message-ID: On Fri, 23 Jul 2004, Your Name wrote: > > Mike, > > I can't post to the group from this machine (maybe you can pass it > along). But I installed "unxutils" from unxutils.sourceforge.com > > I'm just trying to get cpan to work. so I did: > > cpan> install Bundle::CPAN > CPAN: Storable loaded ok > Going to read \.cpan\Metadata I haven't used unxutils, but I suspect that first you're going to need to edit CPAN\Config.pm to point to these installed utilities. Include double-quotes around the app names if the path contains spaces. Also, with ActiveState, you can't use CPAN to install any modules that contain C code, unless you have MS Visual C. Updating Bundle::CPAN may not be a good idea; I don't know off-hand if one of its modules uses XS. Test CPAN on a small, Perl-only module like Acme::Bleach. The messages about subroutines being redefined are warnings, and not errors; in the past, I've gotten CPAN to work despite these messages. You also may need to edit Perl\lib\Config.pm's 'make=' line; by default its set to 'nmake'; I know that I had to change it to 'make' when I used the Perl Power Tools' make version 'pmake'. (Perl Power Tools is like unxutils, but it's all in Perl; it used to be at http://language.perl.com/ppt/ but O'Reilly seems to have taken that page down. Does anyone know where PPT went to? pmake by itself is at http://search.cpan.org/~ni-s/Make-1.00/). -- Mike F. From me at heyjay.com Sat Jul 24 07:49:43 2004 From: me at heyjay.com (Jay Strauss) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] CPAN on windows? References: Message-ID: <003c01c4717c$b2c42960$6705a8c0@a30a> > > I haven't used unxutils, but I suspect that first you're going to need > to edit CPAN\Config.pm to point to these installed utilities. Include > double-quotes around the app names if the path contains spaces. If I do "conf o init" and give it the values I want, does that accomplish the same thing? > Also, with ActiveState, you can't use CPAN to install any modules that > contain C code, unless you have MS Visual C. Updating Bundle::CPAN may > not be a good idea; I don't know off-hand if one of its modules uses XS. > Test CPAN on a small, Perl-only module like Acme::Bleach. Ok > The messages about subroutines being redefined are warnings, and not > errors; in the past, I've gotten CPAN to work despite these messages. > > You also may need to edit Perl\lib\Config.pm's 'make=' line; by default > its set to 'nmake'; I know that I had to change it to 'make' when I used > the Perl Power Tools' make version 'pmake'. Ok Thanks, I'll try this stuff Monday Jay From frag at ripco.com Mon Jul 26 08:43:28 2004 From: frag at ripco.com (Mike Fragassi) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] CPAN on windows? In-Reply-To: <003c01c4717c$b2c42960$6705a8c0@a30a> References: <003c01c4717c$b2c42960$6705a8c0@a30a> Message-ID: On Sat, 24 Jul 2004, Jay Strauss wrote: > > > > I haven't used unxutils, but I suspect that first you're going to need > > to edit CPAN\Config.pm to point to these installed utilities. Include > > double-quotes around the app names if the path contains spaces. > > If I do "conf o init" and give it the values I want, does that accomplish > the same thing? Yes. -- Mike F. From Andy_Bach at wiwb.uscourts.gov Mon Jul 26 12:43:44 2004 From: Andy_Bach at wiwb.uscourts.gov (Andy_Bach@wiwb.uscourts.gov) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] Perlpad for MACs Message-ID: Okay, its MAC related but I know there is at least one MAC-er out there. >> TRACKING << sufficiently advanced technology : the gathering PERLPAD brings a Perl sensibility to the Mac - especially the bits of the Mac you'd think were too bleachy clean to sully. Invading the Mac's vestigial NeXT Services menu, it lets you take text in any Cocoa app window, and run it as a Perl program with a Command-and-a-shift-and-a-big-letter-E. Or you can select text, hit Command-Shift-R and feed it as STDIN to your own foul Perl one-liners. To add to the ambience, PerlPad's interface is inpenetrable, and it's almost impossible to install. Taking the "more than one way to do it" thing a *little* too far, PerlPad requires you to download a .dmg, install CocoaBones using Mac's metapackage weirdness, *and* make Devel::SymDump using CPAN. We estimate that's every way to install something on the Mac without using fink and/or downloading it from Ceefax. And the Services menu is greyed out in Mozilla, Vim and Emacs on Aqua, so what's the bloody point? The point, as ever with Perl, is that it's there when you reallly badly need it. And you will. Oh yes. http://freshmeat.net/projects/perl-pad/ - he suffered for his artistic licence, now it's your turn Andy Bach, Sys. Mangler Internet: andy_bach@wiwb.uscourts.gov VOICE: (608) 261-5738 FAX 264-5932 Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald Knuth ----- Forwarded by Andy Bach/WIWB/07/USCOURTS on 07/26/2004 12:43 PM ----- _ _ _____ _ __ <*the* week^H^H^H^Hfortnightly tech update for the uk> | \ | |_ _| |/ / _ __ __2004-07-23_ o join! sign up at | \| | | | | ' / | '_ \ / _ \ \ /\ / / o http://lists.ntk.net/ | |\ | | | | . \ | | | | (_) \ v v / o website (+ archive) lives at: |_| \_| |_| |_|\_\|_| |_|\___/ \_/\_/ o http://www.ntk.net/ Tips, news & gossip to tips@spesh.com - with NTK in subject line, cheers. Ian Harris, deputy editor of MacFormat, a British Mac magazine, said he regularly runs Spymac-inspired features, and finds the site indispensable for getting story ideas and taking the pulse of the Mac community. "Thank God for Spymac," he said. "I don't know what I'd do without it..." http://www.wired.com/news/mac/0,2125,64217,00.html ..."journalism", maybe? >> HARD NEWS << cinema queues All is proceeding as planned: the legal beating recently handed out to MATTHEW SOMERVILLE has merely made a "martyr" out of the mild-mannered usability vigilante, with gangs of young men (all, in some bizarre tribal allegiance, calling themselves "Iain") now roaming cinema listings sites with armfuls of precious Odeon schedules "liberated" by ad-hoc Perl scripts of their own. (Though, speaking personally, we've never had too many problems with www.scoot.co.uk/cinemafinder - as long as you sidestep its most heinous interface problem by entering high-digit postcodes like "N6" rather than the "N1" it diligently interprets as "You are searching for BEFORE SUNSET in N1. Please select one of the following: N1, London. N10, London. N11, London. N12, London...", and so on.) On a related note, the POST OFFICE seem strangely reluctant to give their visitors access to mutually beneficial information such as *the postcode of the person you're writing to*, with the closure of the no-registration-required postcode database "back door" revealed in NTK 2004-04-16. Please let us know if you've spotted where it's disappeared to this time - or must the public take the law into their own hands once again? http://www.theregister.co.uk/2004/07/20/letters_2007/ - just some concerned Iains doing their bit (scroll down) http://www.isolani.co.uk/blog/access/OdeonTheMissedOpportunity - "31%" of Odeon traffic, claims outraged blog mathematician http://www.ntk.net/2004/04/16/ - almost like they want you to give up and use email http://www.bleb.org/tv/all.html?c=bbc1+bbc2+itv1+ch4+five - not perfect TV info, but miles better than everything else http://natrail.sourceforge.net/ - come hackers, free the schedules/ then you'll be free... >> ANTI-NEWS << berating the obvious [ OK, http://www.dohthehumanity.com/ isn't quite there yet - maybe a rating system instead of comments? - but is an easier way to scroll through the Dohs instead of having to link to each one individually. Still, can't believe we missed this one (final para): http://whatnottodo.org/junk/yahoo.news.html ]... MP3 players "set to become the must-have gadget for music fans", muses: http://news.bbc.co.uk/1/3916811.stm - "must-have gadget" for music haters = a soundproof room?... apparently filling the brief "list some films you can think of that have robots in": http://news.bbc.co.uk/1/hi/3906257.stm ... much- safer-for-work-than-you-actually-expected double URL-tendres: http://www.adamsexhibitions.co.uk/ , http://vintageswank.com/ and - paradoxically - http://www.nsfw.org/ ... Widdy of week: http://www.majesticmortgages.co.uk/keyword.asp?Keyword=a%20total%20ripoff >> EVENT QUEUE << GOTOs considered non-harmful The UK's first "E-FESTIVAL" ("putting the fun back into computer events!") - deferred until 2005. CLASSIC GAMING EXPO UK (featuring Matthew "Manic Miner" Smith, a C5, MAME cabinets, a raffle) - happening this weekend (10am-6pm, Sat and Sun 2004-07-24/25, Fairfield Halls, Croydon, UKP7.50, 5.00 concessions). But of course the real action will be "going down" at the annual UKUUG conference LINUX 2004 (from next Thu to Sun 2004-08-05/08, tutorial and conference fees from UKP70.00, 15.00 concessions) - at time of writing, it's not clear from the site where in Leeds it's going to take place, though let's not rule out the possibility that the entire town centre may be given over to celebrating open source operating systems, Athens Olympics-style, culminating with the glorious "Parade of the Sysadmins" through the gaily decorated city. http://www.ukuug.org/events/linux2004/ - or perhaps just Clarence Dock Hall of Residence, Leeds Uni http://www.cgexpo-uk.com/ - + rare showing of "WarGames" (taped off ITV last weekend?) http://www.e-fest.co.uk/ - at Stoneleigh Park, home of the Royal Agricultural Society http://www.dampassassins.net/ - tomorrow: MMS, waterpistols, Hoxton, Nathanity! http://www.privacyinternational.org/bigbrother/uk2004 - and next Wednesday: 6th Annual UK Big Brother Awards >> TRACKING << sufficiently advanced technology : the gathering PERLPAD brings a Perl sensibility to the Mac - especially the bits of the Mac you'd think were too bleachy clean to sully. Invading the Mac's vestigial NeXT Services menu, it lets you take text in any Cocoa app window, and run it as a Perl program with a Command-and-a-shift-and-a-big-letter-E. Or you can select text, hit Command-Shift-R and feed it as STDIN to your own foul Perl one-liners. To add to the ambience, PerlPad's interface is inpenetrable, and it's almost impossible to install. Taking the "more than one way to do it" thing a *little* too far, PerlPad requires you to download a .dmg, install CocoaBones using Mac's metapackage weirdness, *and* make Devel::SymDump using CPAN. We estimate that's every way to install something on the Mac without using fink and/or downloading it from Ceefax. And the Services menu is greyed out in Mozilla, Vim and Emacs on Aqua, so what's the bloody point? The point, as ever with Perl, is that it's there when you reallly badly need it. And you will. Oh yes. http://freshmeat.net/projects/perl-pad/ - he suffered for his artistic licence, now it's your turn >> MEMEPOOL << contains a source of http://snackspot.org/ the scandal Stuart Campbell came to know - as "Driv3rgate": http://worldofstuart.excellentcontent.com/drivergate/drivergate.htm ... Worst Photoshopped Cover Ever? (dig that Kevin Smith page curl!): http://www.dvdtimes.co.uk/content.php?contentid=11719 ... reverse casemodding - dismantling all your household appliances, and putting them in the cases of desktop PCs... search results "slam" BBC News for excessive tabloid-ese: http://newssearch.bbc.co.uk/cgi-bin/search/results.pl?q=slam ... http://www.10eastern.com/foundphotos.html stumbles onto: http://www.10eastern.com/images/FoundPhotos/images/6-30/im000086.jpg - Rupert Goodwins! ... taunt a curmudgeonly numismatist: http://www.24carat.co.uk/questionstheyaskus.html ... quite the most unexpected "one of these not safe for work" for a while: http://images.google.com/images?q=%22what+is+rss%22&safe=off ... >> GEEK MEDIA << get out less TV>> look forward to a fair chunk of Jonas Akerlund's oeuvre - plus, the trailers imply, N*E*R*D's enthusiastically gratuitous "Lapdance" - in an extended version of what they show late-night on MTV practically every day, X-RATED: THE VIDEOS THEY TRIED TO BAN (10pm, Sat, C4)... word is that the new "Thunderbirds" movie is, impressively, even lamer than the original THUNDERBIRDS ARE GO! (1.45pm, Sun, C5)... and these aren't really five different remixes of the theme from THE INVADERS http://www.the-invaders.com/invaders_audiomix.htm (4.20am, Sat, C5) - but we're sure one of these sites posits the theory that architect David Vincent is actually one of "them" himself, secretly put on Earth to test the population's (in)credulity... here's hoping it's the special "Director's Cut" of ALIENS (10pm, Mon, C5), if only because that "restored sequence" with Newt and her parents in the cab of the truck is bloody awful... whenever we hear Grub Smith voiceovering something like urban legend trawl 101 EMBARRASSING SEXUAL ACCIDENTS (10.50pm, Mon, C4), we assume it's actually someone pastiching ["Lock, Stock and Two Smoking Barrels" narrator] Alan Ford... and middle- and working-class families remain literally astonished at their differing lifestyles when WIFE SWAP (9pm, Tue, C4) introduces a "fitness fanatic" to an "internet addict", and I'M ALRIGHT JACK (sic - 9pm, Thu, BBC2) makes a City "high-flyer" work in a hostel for the homeless... Stew Lee gets 15 minutes out of his "Owl And The Pussycat" material in INNER VOICES (11.15pm, Wed, Radio4)... the inspiration behind Tony Blair's recent outburst is revealed in BBC4 repeat I HATE THE '60S (11.20pm, Tue, BBC2) ... and C4 follows three couples considering another popular midlife-crisis makeover in handy how-to guide SLEEPING WITH THE AU PAIR (9pm, Wed, C4)... AD MUSIC FOR SIX PEOPLE>> inevitably, we've been forced to bring this rarely-popular feature back from "Blade Runner"- style retirement by no less than 3 of you writing in to note that, as ANDY LAWN put it, "The Danone Shape yoghurt advert uses a tune that's an imitation of The Orb's 'Little Fluffy Clouds' - and not the sincerely flattering kind of imitation either", a crime compounded by not using INTERNETSDAIRY's suggested tagline "You might still see that in the dessert": http://www.livejournal.com/users/internetsdairy/106921.html . DAN PEARCE ventured to get "a tad more obscure" by claiming that "the music for the Magnum ad with people painting bulls or somesuch is trying very hard to be Alphawezen's 'Into the Stars'. At least that's the tune I think it's going for - it's 2 tracks before the 10CC/ Destiny's Child mix on that 2 Many DJs album. Worth waiting for, I'm sure", while we'd just like to mention in passing that next week's release of KING ARTHUR is now the third film to feature Clint Poppie's "Requiem For A Dream" theme in its trailers, the others being "Lord Of The Rings 2: The Two Ronnies", and, er, the original "Requiem For A Dream"? http://www.ntk.net/index.cgi?b=02003-01-03&l=239#l ... in the broader world of soundalikes, CARL MORRIS neglected to tell us the name of "the new single by Modest Mouse" which he alleges "sounds very reminiscent of 'Star' by James. You can sing 'Star' on top of it, or even hum it if you don't know the words" - though it should be fairly easy to spot from that description. And if you can't be bothered to download the new "Always Outnumbered, Never Outgunned" Prodigy album from the P2P nets where it so tenaciously resides, then you could always listen to "The Fat Of The Land" again but with the tracks in a different order - apart from (the next single?) "Girls", which is just as good as when it was previously released as "We Have Explosive" by The Future Sound Of London ... so, just to wrap up this week's 1990s UK acid house retrospective, NICK BARTON devised the ideal product placement for arguably the highlight of Orbital's output, explaining: "Picture the scene: A young woman leaves her house to play outside on a sunny day, without a thought for sunscreen or anything else. Then, the scene switches: years later, the same woman, now middle-aged, has deep wrinkles, liver spots and skin like Tom Jones's jockstrap. Over the top of this we hear the familiar words of: 'Well son, the funny thing about regret is that it's better to regret something you have done than to regret something that you haven't done. And by the way, if you see your mom this weekend, will you be sure and tell her: SOLTAN!! SOLTAN!! SOLTAN!!'"... >> SMALL PRINT << Need to Know is a useful and interesting UK digest of things that happened last week or might happen next week. You can read it on Friday afternoon or print it out then take it home if you have nothing better to do. It is compiled by NTK from stuff they get sent. Registered at the Post Office as "Se violi questo limite metti il tuo paese a rischio" http://www.google.com/groups?selm=hFIBc.360741%24hc5.15686769%40news3.tin.it NEED TO KNOW THEY STOLE OUR REVOLUTION. NOW WE'RE STEALING IT BACK. Archive - http://www.ntk.net/ Unsubscribe or subscribe at http://lists.ntk.net/ NTK now is supported by UNFORTU.NET, and by you: http://www.ntkmart.com/ (K) 2004 Special Projects. Copying is fine, but include URL: http://www.ntk.net/ Full license at: http://creativecommons.org/licenses/by/1.0 Tips, news and gossip to tips@spesh.com - with NTK in the subject, cheers. All communication is for publication, unless you beg. Remember: Your work email may be monitored if sending sensitive material. Sending >500KB attachments is forbidden by the Geneva Convention. Your country may be at risk if you fail to comply. From jt at plainblack.com Mon Jul 26 16:08:07 2004 From: jt at plainblack.com (JT Smith) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] default methods Message-ID: I need some help from the perl experts. Any and all advice would be much appreciated. Consider that I have a class that looks like this: package MyClass; use strict; sub new { my $class = shift; my $something = 1; bless {something=>$something}, $class; } sub someMethod { return "foo"; } sub defaultHandler { return "no such method"; } 1; Now let's say that a user creates a program like this: #!/usr/bin/perl use strict; use MyClass; my $obj = MyClass->new; print $obj->someMethod."\n"; print $obj->someOtherMethod."\n"; The program will crap out of course because someOtherMethod doesn't exist. My question is, is there a way to get perl to call defaultHandler if a method is called that does not exist? JT ~ Plain Black Create like a god, command like a king, work like a slave. From thomasoniii at gmail.com Mon Jul 26 17:02:29 2004 From: thomasoniii at gmail.com (Jim Thomason) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] default methods In-Reply-To: References: Message-ID: <5cfdfaf7040726150259553bb6@mail.gmail.com> AUTOLOAD. package MyClass; sub AUTOLOAD { goto &defaultHandler; } You could actually just call defaultHandler as a method or whatnot, but the goto is actually better in this case. -Jim... On Mon, 26 Jul 2004 16:08:07 -0500, JT Smith wrote: > I need some help from the perl experts. Any and all advice would be much appreciated. > > Consider that I have a class that looks like this: > > package MyClass; > > use strict; > > sub new { > my $class = shift; > my $something = 1; > bless {something=>$something}, $class; > } > > sub someMethod { > return "foo"; > } > > sub defaultHandler { > return "no such method"; > } > > 1; > > Now let's say that a user creates a program like this: > > #!/usr/bin/perl > > use strict; > use MyClass; > > my $obj = MyClass->new; > print $obj->someMethod."\n"; > print $obj->someOtherMethod."\n"; > > The program will crap out of course because someOtherMethod doesn't exist. My question > is, is there a way to get perl to call defaultHandler if a method is called that does > not exist? > > JT ~ Plain Black > > Create like a god, command like a king, work like a slave. > _______________________________________________ > Chicago-talk mailing list > Chicago-talk@mail.pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From jt at plainblack.com Mon Jul 26 18:30:50 2004 From: jt at plainblack.com (JT Smith) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] default methods In-Reply-To: <5cfdfaf7040726150259553bb6@mail.gmail.com> Message-ID: Thanks dude. Don't know how I've been using perl for 8 years without knowing that. I suck. =( On Mon, 26 Jul 2004 17:02:29 -0500 Jim Thomason wrote: >AUTOLOAD. > >package MyClass; > >sub AUTOLOAD { > goto &defaultHandler; >} > >You could actually just call defaultHandler as a method or whatnot, >but the goto is actually better in this case. > >-Jim... > >On Mon, 26 Jul 2004 16:08:07 -0500, JT Smith wrote: >> I need some help from the perl experts. Any and all advice would be much appreciated. >> >> Consider that I have a class that looks like this: >> >> package MyClass; >> >> use strict; >> >> sub new { >> my $class = shift; >> my $something = 1; >> bless {something=>$something}, $class; >> } >> >> sub someMethod { >> return "foo"; >> } >> >> sub defaultHandler { >> return "no such method"; >> } >> >> 1; >> >> Now let's say that a user creates a program like this: >> >> #!/usr/bin/perl >> >> use strict; >> use MyClass; >> >> my $obj = MyClass->new; >> print $obj->someMethod."\n"; >> print $obj->someOtherMethod."\n"; >> >> The program will crap out of course because someOtherMethod doesn't exist. My question >> is, is there a way to get perl to call defaultHandler if a method is called that does >> not exist? >> >> JT ~ Plain Black >> >> Create like a god, command like a king, work like a slave. >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk@mail.pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk >> >_______________________________________________ >Chicago-talk mailing list >Chicago-talk@mail.pm.org >http://mail.pm.org/mailman/listinfo/chicago-talk JT ~ Plain Black Create like a god, command like a king, work like a slave. From lembark at wrkhors.com Mon Jul 26 22:54:04 2004 From: lembark at wrkhors.com (Steven Lembark) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] default methods In-Reply-To: References: Message-ID: > sub defaultHandler { > return "no such method"; > } > > 1; see AUTOLOADER in the perldoc's. -- Steven Lembark 9 Music Square South, Box 344 Workhorse Computing Nashville, TN 37203 lembark@wrkhors.com 1 888 359 3508 From lembark at wrkhors.com Mon Jul 26 23:08:13 2004 From: lembark at wrkhors.com (Steven Lembark) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] default methods In-Reply-To: <5cfdfaf7040726150259553bb6@mail.gmail.com> References: <5cfdfaf7040726150259553bb6@mail.gmail.com> Message-ID: -- Jim Thomason > AUTOLOAD. > > package MyClass; > > sub AUTOLOAD { > goto &defaultHandler; > } Why have a default handler if you have an AUTOLOAD in the first place? The main use would be something that installs a newly minted subroutine, e.g., sub AUTOLOAD { my $name = (split /::/, $AUTOLOAD)[-1]; my obj = $_[0]; my $sth = $dbh->prepare( $obj->{$name} ); my $sub = sub { my $obj = shift; eval { # caller gets back undef (false) on # failure or the result of the query # (which may be undef). $sth->execute( @_ ); $sth->fetchall_arrayref } }; # where symbolic ref's Do the Deed (tm). { no strict 'refs'; *$AUTOLOAD = $sub; } # doublecheck my syntax on this, it may be # just *AUTOLOAD or require braces -- the # camel has a working example. goto &*AUTOLOAD } i.e., if the object contains a key with the name of your called subroutine then treat it as sql, prepare a statement handle, construct a closure on it, install it as the subroutine to call that statement handle, then dispatch to it with the current arguments. This is how the .al items work; see also the Shell module. -- Steven Lembark 9 Music Square South, Box 344 Workhorse Computing Nashville, TN 37203 lembark@wrkhors.com 1 888 359 3508 From lembark at wrkhors.com Mon Jul 26 23:10:05 2004 From: lembark at wrkhors.com (Steven Lembark) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] default methods In-Reply-To: References: Message-ID: <1EFEFD815DD85AADBEB0955F@duke.wrkhors.com> -- JT Smith > Thanks dude. Don't know how I've been using perl for 8 years without > knowing that. > I suck. =( Wrong attitude. How about: Glad I've been using perl for eight years and still keep learning interesting new tricks. Nobody (Randal, Larry, or the Mad Dr) knows all of it at this point -- or necessarly wants to... -- Steven Lembark 9 Music Square South, Box 344 Workhorse Computing Nashville, TN 37203 lembark@wrkhors.com 1 888 359 3508 From jt at plainblack.com Mon Jul 26 23:21:24 2004 From: jt at plainblack.com (JT Smith) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] default methods In-Reply-To: Message-ID: Oooh. Thanks for this tip. That's good to know too. I'll definitely have a look at Shell. On Tue, 27 Jul 2004 00:08:13 -0400 Steven Lembark wrote: > > >-- Jim Thomason > >> AUTOLOAD. >> >> package MyClass; >> >> sub AUTOLOAD { >> goto &defaultHandler; >> } > >Why have a default handler if you have an AUTOLOAD in the >first place? The main use would be something that installs >a newly minted subroutine, e.g., > > sub AUTOLOAD > { > my $name = (split /::/, $AUTOLOAD)[-1]; > > my obj = $_[0]; > > my $sth = $dbh->prepare( $obj->{$name} ); > > my $sub = > sub > { > my $obj = shift; > eval > { > # caller gets back undef (false) on > # failure or the result of the query > # (which may be undef). > > $sth->execute( @_ ); > $sth->fetchall_arrayref > } > }; > > # where symbolic ref's Do the Deed (tm). > > { > no strict 'refs'; > *$AUTOLOAD = $sub; > } > > # doublecheck my syntax on this, it may be > # just *AUTOLOAD or require braces -- the > # camel has a working example. > > goto &*AUTOLOAD > } > > >i.e., if the object contains a key with the name of your >called subroutine then treat it as sql, prepare a statement >handle, construct a closure on it, install it as >the subroutine to call that statement handle, then dispatch >to it with the current arguments. > >This is how the .al items work; see also the Shell module. > >-- >Steven Lembark 9 Music Square South, Box 344 >Workhorse Computing Nashville, TN 37203 >lembark@wrkhors.com 1 888 359 3508 >_______________________________________________ >Chicago-talk mailing list >Chicago-talk@mail.pm.org >http://mail.pm.org/mailman/listinfo/chicago-talk JT ~ Plain Black Create like a god, command like a king, work like a slave. From lembark at wrkhors.com Tue Jul 27 00:09:44 2004 From: lembark at wrkhors.com (Steven Lembark) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] JOB: Experienced MODPERL developer for Chicago (fwd) Message-ID: ---------- Forwarded Message ---------- From: Evan Hecht Subject: JOB: Experienced MODPERL developer for Chicago > Large Financial Firm looking for Strong Perl Programmers and will pay > top dollar. Must have experience with Oracle or Sybase (preferred). > Financial experience a plus... Relocation packages for out of > towners... > > Requirements: > 1. HEAVY RECENT WORK EXPERIENCE WITH PERL SCRIPTING > -Must have written custom PERL from scratch > -Must explain the use of PERL in your resume (type of app, used with > what, its purpose, volume, etc) > -Please be specific and thorough in description of PERL use > 2. WORK EXPERIENCE WITH RELATIONAL DATABASES > - SYBASE (pref) or Oracle > 3. Financial experience a big plus > > Will pay top dollar for top notch skills... > > Qualified candidates,please send resumes to ehecht@opensystemstech.com > > -- > Report problems: http://perl.apache.org/bugs/ > Mail list info: http://perl.apache.org/maillist/modperl.html > List etiquette: http://perl.apache.org/maillist/email-etiquette.html > ---------- End Forwarded Message ---------- -- Steven Lembark 9 Music Square South, Box 344 Workhorse Computing Nashville, TN 37203 lembark@wrkhors.com 1 888 359 3508 From lembark at wrkhors.com Tue Jul 27 01:07:49 2004 From: lembark at wrkhors.com (Steven Lembark) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] default methods In-Reply-To: References: Message-ID: -- JT Smith > Oooh. Thanks for this tip. That's good to know too. I'll definitely have > a look at Shell. use Shell qw( ls du df ); my $a = df '-m', '/home/diskhog'; my $b = du '-ms', '/home/diskhog'; basically all Shell does is have an autoloader that returns qx( @_ ) for items you've installed. A kwikhak version looks something like: my %known = (); sub import { my $module = shift; my $caller = caller; %known = map { $caller . '::' . $_ => $_ } @_; } sub AUTOLOAD { my $name = $known{$AUTOLOAD} or die "Unknown: $AUTOLOAD"; qx( $name @_ ); } Point here is that the AUTOLOADER doesn't have to install anything. All this one does is store fully qualified names for the shell commands and run the ones it's seen use-ed in that package. The trick with statement handles is someting I'm working on here. Idea is to have the derived classes provde nothing more than some metadata and a constructor. The base class provides an initializer and the AUTOLOAD. Construction in most cases just blesses a reference to common metadata into the requested class. Values are SQL that is prepare-ed at call-time. This allows for things like: package Lookup::Blah; use base Lookup; my %template = ( blah_id => q{select blah_id from blah where blah_name = ?}, ... ); sub construct { my $item = shift; my $obj = bless \%template, ref $item || $item $obj->init } package Lookup; my $dbh = blah(); sub init { my $obj = shift; # load any shared metadata. # munge queries for pretty-printing. $obj->{dbh} ||= $dbh; # hand back the object. $obj } sub AUTOLOAD { # check for key, prepare statement handle, # return results. my $sth = ... my $sub = sub { # dump the object itself. shift; $sth->execute( @_ ); my $a = $sth->fetchall_arrayref; if( @{$a->[0]} == 1 ) { $_ = $_->[0] for @$a; } $a = $a->[0] if @$a == 1; }; no strict ref's. *$AUTOLOAD = $sub; goto &$AUTOLOAD } with the caller just using the key-names as methods: # inexpensive since the constructor does no real # work, the preparation comes only when the method # (query) is actually called. my $obj = Lookup::Blah->construct; my $a = $obj->blah_id( $name ); -- Steven Lembark 9 Music Square South, Box 344 Workhorse Computing Nashville, TN 37203 lembark@wrkhors.com 1 888 359 3508 From frag at ripco.com Wed Jul 28 16:28:14 2004 From: frag at ripco.com (Mike Fragassi) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] a pure-Perl 'make' In-Reply-To: References: Message-ID: On Fri, 23 Jul 2004, Mike Fragassi wrote: > You also may need to edit Perl\lib\Config.pm's 'make=' line; by default > its set to 'nmake'; I know that I had to change it to 'make' when I used > the Perl Power Tools' make version 'pmake'. (Perl Power Tools is like > unxutils, but it's all in Perl; it used to be at > http://language.perl.com/ppt/ but O'Reilly seems to have taken that page > down. Does anyone know where PPT went to? pmake by itself is at > http://search.cpan.org/~ni-s/Make-1.00/). If anyone cares, I found it: http://search.cpan.org/dist/ppt/src/make/pmake It's part of PPT (http://search.cpan.org/dist/ppt/), the Perl Power Tools/Unix Reconstruction Project, which was initially spearheaded by Tom Christiansen and is now apparently maintained by Casey West. ("Our goal is quite simply to reimplement the classic Unix command set in pure Perl, and to have as much fun as we can doing so.") -- Mike F. From shawn.c.carroll at gmail.com Fri Jul 30 13:54:38 2004 From: shawn.c.carroll at gmail.com (Shawn Carroll) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] Sitting here at OSCon... Message-ID: I've been talking to several people about conferences this week, esp YAPC. The thought crossed my mind to put together a bid for YAPC::NA::2005; but the dead-line is in one month and I thought that was too short a time span. Jim Brandt, the fellow that organized YAPC::NA::2004 in Buffalo, told me that we could do the proposal in one month. I talked to a few other people about this and learned that Toronto really wants to host 2005. So, what do I think? I think it may be possible to put a bid together in one month to host YAPC in Chicago for 2005. In transportation we win, O'Hare and Midway. In activities we win, Sox, Fire, and even the cubs. For a venue, I was thinking IIT. They have the dorms open in the summer, several halls for use. One of our members will be a student there, and I'm alumna as is my wife and several of my close friends. It's only 10 minutes from downtown by el or bus, right off the interstate, a mile from the lake. Anyone one else think we can do it? --Shawn *suffering from conference induced hysteria* -- shawn.c.carroll@gmail.com Perl Programmer Soccer Referee From wiggins at danconia.org Fri Jul 30 15:11:06 2004 From: wiggins at danconia.org (Wiggins d Anconia) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] Sitting here at OSCon... Message-ID: <200407302011.i6UKB6B23060@residualselfimage.com> > I've been talking to several people about conferences this week, esp > YAPC. The thought crossed my mind to put together a bid for > YAPC::NA::2005; but the dead-line is in one month and I thought that > was too short a time span. Jim Brandt, the fellow that organized > YAPC::NA::2004 in Buffalo, told me that we could do the proposal in > one month. I talked to a few other people about this and learned that > Toronto really wants to host 2005. > > So, what do I think? I think it may be possible to put a bid together > in one month to host YAPC in Chicago for 2005. In transportation we > win, O'Hare and Midway. In activities we win, Sox, Fire, and even the > cubs. For a venue, I was thinking IIT. They have the dorms open in > the summer, several halls for use. One of our members will be a > student there, and I'm alumna as is my wife and several of my close > friends. It's only 10 minutes from downtown by el or bus, right off > the interstate, a mile from the lake. > > Anyone one else think we can do it? > I think you can, and would love for it to happen. I don't get a lot of chance to attend conferences, et al. and the midwest could use a bit of Open Source exposure (I am in Indianapolis and there is very little), with OSCON in Chicago I could probably make it for once and was trying to come up with a way to make 2005, anyways. I say go for it, though I can't really put up, so I will now shut up. http://danconia.org From andy at petdance.com Fri Jul 30 22:10:08 2004 From: andy at petdance.com (Andy Lester) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] OSCON recap Message-ID: <20C3C76C-E29F-11D8-8F70-000393CD7BD6@petdance.com> http://use.perl.org/~petdance/journal/20154 Andy -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance From me at heyjay.com Fri Jul 30 23:45:03 2004 From: me at heyjay.com (Jay Strauss) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] OSCON recap References: <20C3C76C-E29F-11D8-8F70-000393CD7BD6@petdance.com> Message-ID: <004401c476b9$276f00f0$6705a8c0@a30a> > http://use.perl.org/~petdance/journal/20154 > > Andy Link for knees (first day blog) http://www.kneedefender.com/ Jay From me at heyjay.com Fri Jul 30 23:56:33 2004 From: me at heyjay.com (Jay Strauss) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] OSCON recap References: <20C3C76C-E29F-11D8-8F70-000393CD7BD6@petdance.com> <004401c476b9$276f00f0$6705a8c0@a30a> Message-ID: <004a01c476ba$c1acabd0$6705a8c0@a30a> > > > > http://use.perl.org/~petdance/journal/20154 > > > > Andy > > Link for knees (first day blog) > > http://www.kneedefender.com/ > > Jay whoops, already answered by your wife From frag at ripco.com Sat Jul 31 01:33:25 2004 From: frag at ripco.com (Mike Fragassi) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] Sitting here at OSCon... In-Reply-To: References: Message-ID: On Fri, 30 Jul 2004, Shawn Carroll wrote: > Anyone one else think we can do it? My gut instinct is no, just because of the hassles we've had in the past when it came to things like settling on meeting places. (Have we settled on a new meeting place yet?) Plus, rather than rush into it with only a month, it may be better to let Toronto have it next year but get a running start on doing it in 2006. But I'd love to be proved wrong, and I would definitely help out if enough people were fired up & committed to help. Bring it up at the upcoming meeting. -- Mike F. From me at heyjay.com Sat Jul 31 08:51:50 2004 From: me at heyjay.com (Jay Strauss) Date: Mon Aug 2 21:28:15 2004 Subject: [Chicago-talk] Sitting here at OSCon... References: Message-ID: <003101c47705$8c0e8480$6705a8c0@a30a> > Bring it up at the upcoming meeting. Wherever that may be :) From andy at petdance.com Sat Jul 31 11:53:35 2004 From: andy at petdance.com (Andy Lester) Date: Mon Aug 2 21:28:16 2004 Subject: [Chicago-talk] OSCON slides available Message-ID: <20040731165334.GA2145@petdance.com> Slides from many of the sessions at OSCON 2004 are now available, including "Advice For Open Source Job Seekers" that I presented with Bill Odom. http://conferences.oreillynet.com/pub/w/29/presentations.html -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance From frag at ripco.com Sat Jul 31 15:03:24 2004 From: frag at ripco.com (Mike Fragassi) Date: Mon Aug 2 21:28:16 2004 Subject: [Chicago-talk] Sitting here at OSCon... In-Reply-To: <003101c47705$8c0e8480$6705a8c0@a30a> References: <003101c47705$8c0e8480$6705a8c0@a30a> Message-ID: On Sat, 31 Jul 2004, Jay Strauss wrote: > > Bring it up at the upcoming meeting. > > Wherever that may be :) Next week's is still set for Vernon Hills. -- Mike F. From andy at petdance.com Sat Jul 31 15:23:26 2004 From: andy at petdance.com (Andy Lester) Date: Mon Aug 2 21:28:16 2004 Subject: [Chicago-talk] Sitting here at OSCon... In-Reply-To: References: <003101c47705$8c0e8480$6705a8c0@a30a> Message-ID: <7A401332-E32F-11D8-BF36-000393CD7BD6@petdance.com> > >>> Bring it up at the upcoming meeting. >> >> Wherever that may be :) > > Next week's is still set for Vernon Hills. And I'll still be talking about security and tainting! -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance