From jay at jays.net Fri Jun 4 16:53:04 2010 From: jay at jays.net (Jay Hannah) Date: Fri, 4 Jun 2010 18:53:04 -0500 Subject: [Omaha.pm] perl-5.12.1 - 348,915 tests Message-ID: <5272F995-691E-488D-A837-39A2BEDA43CE@jays.net> ... t/porting/manifest.............................................ok t/porting/podcheck.............................................ok t/porting/test_bootstrap.......................................ok All tests successful. u=10.60 s=2.86 cu=507.64 cs=63.06 scripts=1686 tests=348915 jhannah at biobase:/localhome/jhannah/src/perl-5.12.1$ :D j From dan at linder.org Sat Jun 5 11:52:07 2010 From: dan at linder.org (Dan Linder) Date: Sat, 5 Jun 2010 13:52:07 -0500 Subject: [Omaha.pm] perl-5.12.1 - 348,915 tests In-Reply-To: <5272F995-691E-488D-A837-39A2BEDA43CE@jays.net> References: <5272F995-691E-488D-A837-39A2BEDA43CE@jays.net> Message-ID: That's impressive. Maybe you should offer to give some talks to Microsoft on a good test framework! Dan On Fri, Jun 4, 2010 at 18:53, Jay Hannah wrote: > ... > t/porting/manifest.............................................ok > t/porting/podcheck.............................................ok > t/porting/test_bootstrap.......................................ok > All tests successful. > u=10.60 s=2.86 cu=507.64 cs=63.06 scripts=1686 tests=348915 > jhannah at biobase:/localhome/jhannah/src/perl-5.12.1$ > > > :D > > j > > > _______________________________________________ > Omaha-pm mailing list > Omaha-pm at pm.org > http://mail.pm.org/mailman/listinfo/omaha-pm > -- ***************** ************* *********** ******* ***** *** ** "Quis custodiet ipsos custodes?" (Who can watch the watchmen?) -- from the Satires of Juvenal "I do not fear computers, I fear the lack of them." -- Isaac Asimov (Author) ** *** ***** ******* *********** ************* ***************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay at jays.net Mon Jun 7 21:22:00 2010 From: jay at jays.net (Jay Hannah) Date: Mon, 7 Jun 2010 23:22:00 -0500 Subject: [Omaha.pm] Meeting tomorrow, 7pm Message-ID: Don't forget our meeting tomorrow: http://odlug.org Tuesday June 8 2010, 7pm UNO's Peter Kiewit Institute (PKI) Room PKI 375 <-- NEW ROOM NUMBER Michael Kolakowski and UP coworker present "Coding Kata" (Eclipse/Java). I got us one of those 6' Subway party subs again, so come hungry. :) j From jhannah at omnihotels.com Tue Jun 8 06:58:38 2010 From: jhannah at omnihotels.com (Jay Hannah) Date: Tue, 8 Jun 2010 08:58:38 -0500 Subject: [Omaha.pm] r11111 Message-ID: <396CEDAA86B38646ACE2FEAA22C3FBF1037A38A8@l3exchange.omnihotels.net> I'm such a nerd. :) figlet rules. j jhannah at cac-dev:~/src/Omni2/trunk/Omni2> svn log -vr11111 ------------------------------------------------------------------------ r11111 | jhannah | 2010-06-08 08:52:55 -0500 (Tue, 08 Jun 2010) | 7 lines Changed paths: M /trunk/README ____ ____ ____ ____ ____ __ ._. ______/_ /_ /_ /_ /_ | __ _ ______ _____/ |_| | \_ __ \ || || || || | \ \/ \/ / _ \ / _ \ __\ | | | \/ || || || || | \ ( <_> | <_> ) | \| |__| |___||___||___||___||___| \/\_/ \____/ \____/|__| __ \/ ------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From iceburn at dangerzone.com Tue Jun 8 17:13:00 2010 From: iceburn at dangerzone.com (Tim) Date: Tue, 8 Jun 2010 20:13:00 -0400 Subject: [Omaha.pm] r11111 In-Reply-To: <396CEDAA86B38646ACE2FEAA22C3FBF1037A38A8@l3exchange.omnihotels.net> References: <396CEDAA86B38646ACE2FEAA22C3FBF1037A38A8@l3exchange.omnihotels.net> Message-ID: _____________________ ( i wonder if jay has ) ( heard of cowsay ) --------------------- o ^__^ o (oo)\_______ (__)\ )\/\ ||----w | || || 2010/6/8 Jay Hannah : > I'm such a nerd.?? :)?? figlet rules. > > > > j > > > > > > > > jhannah at cac-dev:~/src/Omni2/trunk/Omni2> svn log -vr11111 > > ------------------------------------------------------------------------ > > r11111 | jhannah | 2010-06-08 08:52:55 -0500 (Tue, 08 Jun 2010) | 7 lines > > Changed paths: > > ?? M /trunk/README > > > > ?????? ____ ____ ____ ____ ____??????????????????????? __? ._. > > ______/_?? /_?? /_?? /_?? /_?? | __? _? ______?? _____/? |_| | > > \_? __ \?? ||?? ||?? ||?? ||?? | \ \/ \/ /? _ \ /? _ \?? __\ | > > ?|? | \/?? ||?? ||?? ||?? ||?? |? \???? (? <_> |? <_> )? |? \| > > ?|__|? |___||___||___||___||___|?? \/\_/ \____/ \____/|__|? __ > > ??????????????????????????????????????????????????????????? \/ > > ------------------------------------------------------------------------ > > _______________________________________________ > Omaha-pm mailing list > Omaha-pm at pm.org > http://mail.pm.org/mailman/listinfo/omaha-pm > From netarttodd at gmail.com Fri Jun 11 11:03:00 2010 From: netarttodd at gmail.com (Todd Hamilton) Date: Fri, 11 Jun 2010 13:03:00 -0500 Subject: [Omaha.pm] Perl Daemon Message-ID: What module or approach do you guys use to Daemonize a perl application? -- Todd Hamilton (402) 881-0438 From jay at jays.net Fri Jun 11 12:07:16 2010 From: jay at jays.net (Jay Hannah) Date: Fri, 11 Jun 2010 14:07:16 -0500 Subject: [Omaha.pm] Perl Daemon In-Reply-To: References: Message-ID: <4C128964.8040700@jays.net> On 6/11/2010 1:03 PM, Todd Hamilton wrote: > What module or approach do you guys use to Daemonize a perl application? We've got a bunch of home-spun .sh reminiscent of /etc/init.d/apache2 and friends. I'm sure there's prettier ways, but I've never used one. If you find one you like tell us about it. :) j From dan at linder.org Sat Jun 12 13:13:26 2010 From: dan at linder.org (Dan Linder) Date: Sat, 12 Jun 2010 15:13:26 -0500 Subject: [Omaha.pm] Perl Daemon In-Reply-To: <4C128964.8040700@jays.net> References: <4C128964.8040700@jays.net> Message-ID: It might depend on your projects needs. We have two daemon-like processes. One listens on a TCP/IP port 24x7, but just in case it dies we have it setup in a cronjob to try and execute once a minute. It's not elegant, but it works for us. The second process isn't a daemon per-se. We just run it from cron at 10 minute intervals and it processes anything that it finds in it's directory. Since the processing time can take quite a while, we put a flag file in the directory when we start, and delete it when we're done. I think the first one is the daemon-like example you're looking for. Check out your distributions init.d scripts and start there. Dan On Fri, Jun 11, 2010 at 14:07, Jay Hannah wrote: > On 6/11/2010 1:03 PM, Todd Hamilton wrote: > >> What module or approach do you guys use to Daemonize a perl application? >> > > We've got a bunch of home-spun .sh reminiscent of /etc/init.d/apache2 and > friends. I'm sure there's prettier ways, but I've never used one. If you > find one you like tell us about it. :) > > > j > > _______________________________________________ > Omaha-pm mailing list > Omaha-pm at pm.org > http://mail.pm.org/mailman/listinfo/omaha-pm > -- ***************** ************* *********** ******* ***** *** ** "Quis custodiet ipsos custodes?" (Who can watch the watchmen?) -- from the Satires of Juvenal "I do not fear computers, I fear the lack of them." -- Isaac Asimov (Author) ** *** ***** ******* *********** ************* ***************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay at jays.net Wed Jun 16 16:06:41 2010 From: jay at jays.net (Jay Hannah) Date: Wed, 16 Jun 2010 18:06:41 -0500 Subject: [Omaha.pm] Perl Daemon In-Reply-To: References: Message-ID: <3380C134-5416-4B24-A0A4-2DB5BC20C9A8@jays.net> On Jun 11, 2010, at 1:03 PM, Todd Hamilton wrote: > What module or approach do you guys use to Daemonize a perl application? There's some positive talk about App::Daemon going on right now in irc.perl.org #catalyst. http://search.cpan.org/perldoc?App::Daemon j From jay at jays.net Thu Jun 17 12:53:54 2010 From: jay at jays.net (Jay Hannah) Date: Thu, 17 Jun 2010 14:53:54 -0500 Subject: [Omaha.pm] Fwd: Seeking senior Perl talent for quantitative finance at Bank of America in Atlanta, GA Message-ID: <4C1A7D52.9060903@jays.net> -------- Original Message -------- Subject: Seeking senior Perl talent for quantitative finance at Bank of America in Atlanta, GA Date: Thu, 17 Jun 2010 08:05:17 -0700 From: Jirak, Peter To: Jay Hannah Hi Jay, My name is Peter Jirak. I am a Vice President of Quantitative Finance at Bank of America in Atlanta, Georgia. I am a senior Perl developer with ten years of experience. I work in Quantitative Finance within the Corporate Investment Group on the implementation team at Bank of America in Atlanta, Georgia. We are currently looking for highly skilled Perl Developers to join our quantitative finance team in Atlanta, GA. CIG designs and implements a suite of complex valuation tools and models. We are a linux/open source shop using over 1000 linux processors to price and analyze over $400 billion in investments with our C++ and Perl models. Our work is fast-paced and intellectually challenging, and we interact daily with traders, mathematicians, and senior bank management to improve our models and adapt to changing market needs. We have a fun atmosphere with casual dress, daily chess puzzles, and unlimited opportunities to learn finance as well as to challenge your technical skills. No knowledge of finance is necessary for this position, but willingness and aptitude for learning is. We offer very competitive compensation and an excellent benefits package including 401(k) with employer contributions, a pension plan, medical, dental and vision. This position is open to US residents, US citizens and people seeking US work visa sponsorship. Bank of America is an equal opportunity employer. Candidates not currently living in the Atlanta area will be considered for this position in addition to local candidates. Some relocation assistance may be available. Here is a URL for this position: http://careers.bankofamerica.com/JobDetails.aspx?SearchPage=ASP&CountryId=1&JobId=0900037336 I am contacting you in case you are interested in this position or know someone who may be. Please feel free to share this with others. You or anyone who is interested should email me a resume and detailed cover letter. Thanks, Sincerely, Peter C. Jirak Quantitative Finance peter.jirak at bankofamerica.com From jay at jays.net Tue Jun 22 11:41:57 2010 From: jay at jays.net (Jay Hannah) Date: Tue, 22 Jun 2010 14:41:57 -0400 Subject: [Omaha.pm] Greetings from YAPC (perl5i) Message-ID: <666E4684-1B16-4347-B411-55E6D4E65825@jays.net> Wow. perl5i looks like a great way to jump very quickly into all the great new stuff from 5.10, 5.12, and the best of breed from CPAN over the last 2-3 years! http://search.cpan.org/perldoc?perl5ifaq They've brought forward the shiniest bits so I don't have to learn *everything* to discover the good stuff. j From jay at jays.net Wed Jun 23 12:21:44 2010 From: jay at jays.net (Jay Hannah) Date: Wed, 23 Jun 2010 15:21:44 -0400 Subject: [Omaha.pm] r11111 In-Reply-To: References: <396CEDAA86B38646ACE2FEAA22C3FBF1037A38A8@l3exchange.omnihotels.net> Message-ID: <9810497D-BD59-4B0D-9DF4-1160B1A7AAD5@jays.net> On Jun 8, 2010, at 8:13 PM, Tim wrote: > _____________________ > ( i wonder if jay has ) > ( heard of cowsay ) > --------------------- > o ^__^ > o (oo)\_______ > (__)\ )\/\ > ||----w | > || || I hadn't. Also popular in irc.perl.org #yapc today. :) j From jay at jays.net Thu Jun 24 09:45:54 2010 From: jay at jays.net (Jay Hannah) Date: Thu, 24 Jun 2010 12:45:54 -0400 Subject: [Omaha.pm] Infotec, NFJS: Perl booth? Message-ID: <8D40C417-FE6D-4C46-A0B3-A887F322DB63@jays.net> The Perl Foundation is becoming more organized about attending non-Perl conferences worldwide. http://www.socialtext.net/perl5/index.cgi?events I dropped a line to NFJS asking about setting up a Perl booth in Des Moines. http://www.nofluffjuststuff.com/conference/des_moines/2010/07/home Any OLUG interest in a LUG booth and/or a sharing a booth at NFJS? (Does a Des Moines LUG exist? The Des Moines Perl Mongers is alive but sleepy and I'm trying to stoke them into updating their website.) Can any of you Infotec booth veterans offer any info about how booths work at Infotec? Can I throw some Perl stuff around in your booth? I'm a booth-at-conferences newbie, so looking for feedback. Also looking for other Perly Omahans that might want to help out for a few hours or more. Bueller? Thanks, j http://omaha.pm.org From jay at jays.net Thu Jun 24 09:57:35 2010 From: jay at jays.net (Jay Hannah) Date: Thu, 24 Jun 2010 12:57:35 -0400 Subject: [Omaha.pm] Infotec, NFJS: Perl booth? In-Reply-To: <8D40C417-FE6D-4C46-A0B3-A887F322DB63@jays.net> References: <8D40C417-FE6D-4C46-A0B3-A887F322DB63@jays.net> Message-ID: <4E6CF72F-61A5-44E2-A0FD-A5373A714CD0@jays.net> On Jun 24, 2010, at 12:45 PM, Jay Hannah wrote: > I dropped a line to NFJS asking about setting up a Perl booth in Des Moines. > > http://www.nofluffjuststuff.com/conference/des_moines/2010/07/home Oh. They have no booth / sponsor area. Nevermind. :) Still curious about Infotec though. j From dan at linder.org Thu Jun 24 09:57:38 2010 From: dan at linder.org (Dan Linder) Date: Thu, 24 Jun 2010 11:57:38 -0500 Subject: [Omaha.pm] Accessing CGI objects passed through a function call... Message-ID: I'm trying to access the Perl CGI modules self_url call in a function call. Here's my code: === test001.pl === #!/usr/bin/perl use lib "."; use CGI; use MyModule; my $cgi = CGI->new(); show_my_link(\$cgi); exit; === end test001.pl === My module is like this: === MyModule.pm === package MyModule; use Exporter; @ISA = qw(Exporter); @EXPORT = qw(show_my_link); sub show_my_link { my ($thecgi) = @_; printf ("The full URL is: %s\n", $thecgi->self_url()); } 1; === end MyModule.pm === When I run the code above, I get the error: Can't call method "self_url" on unblessed reference at MyModule.pm line 8. (Line 8 is the printf...self_url line.) I think I'm close, but is there something else I'm missing to make this call? Thanks in advance! Dan -- ***************** ************* *********** ******* ***** *** ** "Quis custodiet ipsos custodes?" (Who can watch the watchmen?) -- from the Satires of Juvenal "I do not fear computers, I fear the lack of them." -- Isaac Asimov (Author) ** *** ***** ******* *********** ************* ***************** From jay at jays.net Thu Jun 24 10:03:20 2010 From: jay at jays.net (Jay Hannah) Date: Thu, 24 Jun 2010 13:03:20 -0400 Subject: [Omaha.pm] Infotec, NFJS: Perl booth? In-Reply-To: References: <8D40C417-FE6D-4C46-A0B3-A887F322DB63@jays.net> <4E6CF72F-61A5-44E2-A0FD-A5373A714CD0@jays.net> Message-ID: On Jun 24, 2010, at 12:59 PM, Kevin wrote: > Neither does Infotec. Or at least that was the case this year. Oh, really? I've swung by the Infotec OLUG booth a couple times over the last 10 years. Didn't realize how out of touch I am. Have never actually attended Infotec. Does OLUG do any booths anywhere nowadays? Thanks, j From jay at jays.net Thu Jun 24 10:13:04 2010 From: jay at jays.net (Jay Hannah) Date: Thu, 24 Jun 2010 13:13:04 -0400 Subject: [Omaha.pm] Accessing CGI objects passed through a function call... In-Reply-To: References: Message-ID: <83865353-2C13-4592-9647-6D879AAC2AED@jays.net> On Jun 24, 2010, at 12:57 PM, Dan Linder wrote: > show_my_link(\$cgi); You wanted: show_my_link($cgi); $cgi is an object. j From tedkat at gmail.com Thu Jun 24 10:13:06 2010 From: tedkat at gmail.com (Theodore Katseres) Date: Thu, 24 Jun 2010 12:13:06 -0500 Subject: [Omaha.pm] Accessing CGI objects passed through a function call... In-Reply-To: References: Message-ID: On Thu, Jun 24, 2010 at 11:57 AM, Dan Linder wrote: > I'm trying to access the Perl CGI modules self_url call in a function > call. Here's my code: > > === test001.pl === > #!/usr/bin/perl > use lib "."; > use CGI; > use MyModule; > my $cgi = CGI->new(); > > show_my_link(\$cgi); > exit; > === end test001.pl === > > My module is like this: > === MyModule.pm === > package MyModule; > use Exporter; > @ISA = qw(Exporter); > @EXPORT = qw(show_my_link); > > sub show_my_link { > my ($thecgi) = @_; > printf ("The full URL is: %s\n", $thecgi->self_url()); > } > 1; > === end MyModule.pm === > > When I run the code above, I get the error: > Can't call method "self_url" on unblessed reference at MyModule.pm line > 8. > (Line 8 is the printf...self_url line.) > > I think I'm close, but is there something else I'm missing to make this > call? > Best guess. Pass the object not a reference to a scalar containing the object :) show_my_link(\$cgi); should be show_my_link($cgi); -- Ted Katseres ||=O=|| -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay at jays.net Thu Jun 24 10:17:28 2010 From: jay at jays.net (Jay Hannah) Date: Thu, 24 Jun 2010 13:17:28 -0400 Subject: [Omaha.pm] Accessing CGI objects passed through a function call... In-Reply-To: References: Message-ID: On Jun 24, 2010, at 1:13 PM, Theodore Katseres wrote: > On Thu, Jun 24, 2010 at 11:57 AM, Dan Linder wrote: > I'm trying to access the Perl CGI modules self_url call in a function > call. Here's my code: Woot! I beat Theodore by 2 seconds! WIN! We could have even closer competitions in IRC. :) irc.freenode.net #omaha.dev :) j From dan at linder.org Thu Jun 24 10:27:10 2010 From: dan at linder.org (Dan Linder) Date: Thu, 24 Jun 2010 12:27:10 -0500 Subject: [Omaha.pm] Accessing CGI objects passed through a function call... In-Reply-To: <83865353-2C13-4592-9647-6D879AAC2AED@jays.net> References: <83865353-2C13-4592-9647-6D879AAC2AED@jays.net> Message-ID: On Thu, Jun 24, 2010 at 12:13, Jay Hannah wrote: > On Jun 24, 2010, at 12:57 PM, Dan Linder wrote: >> show_my_link(\$cgi); > > You wanted: > > ? show_my_link($cgi); > > $cgi is an object. Yup, that seems to work. I tried that first but got some other error...must have been a typo. Thanks for the very quick responses: Jay = 10 points Theodore = 9.9 points :-) Dan -- ***************** ************* *********** ******* ***** *** ** "Quis custodiet ipsos custodes?" (Who can watch the watchmen?) -- from the Satires of Juvenal "I do not fear computers, I fear the lack of them." -- Isaac Asimov (Author) ** *** ***** ******* *********** ************* ***************** From jay at jays.net Fri Jun 25 09:43:09 2010 From: jay at jays.net (Jay Hannah) Date: Fri, 25 Jun 2010 11:43:09 -0500 Subject: [Omaha.pm] Infotec, NFJS: Perl booth? In-Reply-To: References: <8D40C417-FE6D-4C46-A0B3-A887F322DB63@jays.net> <4E6CF72F-61A5-44E2-A0FD-A5373A714CD0@jays.net> Message-ID: <8C171DB4-C1B8-465A-BD3C-2E3DCDFF9DB1@jays.net> On Jun 25, 2010, at 11:20 AM, Jon Larsen wrote: > When Infotec was reborn in 2008, there was no provision for community > based booths. Booths are available to sponsors/vendors for a fee. Do you happen to know what the fee is, or have a contact for whoever runs that stuff recently? So OLUG hasn't done a booth anywhere in a while, huh? j From relayer at levania.org Fri Jun 25 09:20:57 2010 From: relayer at levania.org (Jon Larsen) Date: Fri, 25 Jun 2010 11:20:57 -0500 (CDT) Subject: [Omaha.pm] [olug] Infotec, NFJS: Perl booth? In-Reply-To: References: <8D40C417-FE6D-4C46-A0B3-A887F322DB63@jays.net> <4E6CF72F-61A5-44E2-A0FD-A5373A714CD0@jays.net> Message-ID: Jay, When Infotec was reborn in 2008, there was no provision for community based booths. Booths are available to sponsors/vendors for a fee. If this changes in the future, I'll let you know. Personally, I think the idea of a community booth is a good idea. Jon L. On Thu, 24 Jun 2010, Jay Hannah wrote: > Date: Thu, 24 Jun 2010 13:03:20 -0400 > From: Jay Hannah > Reply-To: Omaha Linux User Group > To: Omaha Linux User Group > Cc: Nebraska USA Perl Mongers of Omaha > Subject: Re: [olug] Infotec, NFJS: Perl booth? > > On Jun 24, 2010, at 12:59 PM, Kevin wrote: > > Neither does Infotec. Or at least that was the case this year. > > Oh, really? I've swung by the Infotec OLUG booth a couple times over the last 10 years. Didn't realize how out of touch I am. Have never actually attended Infotec. Does OLUG do any booths anywhere nowadays? > > Thanks, > > j -- Jon H. Larsen - relayer -at- levania -dot- org Blog - http://levania.org/relayer/ VP of Community Development, Omaha Linux Users Group - http://www.olug.org/ AnimeSunday.org - http://www.animesunday.org/ From sterling at hanenkamp.com Sat Jun 26 18:34:47 2010 From: sterling at hanenkamp.com (Sterling Hanenkamp) Date: Sat, 26 Jun 2010 20:34:47 -0500 Subject: [Omaha.pm] Greetings from YAPC (perl5i) In-Reply-To: References: <666E4684-1B16-4347-B411-55E6D4E65825@jays.net> Message-ID: It looks pretty interesting. I'm not so sure about the metaobject accessors in UNIVERSAL, but I like the modules it uses. There was also a reasonably good lightning talk given on Catalyst and Omni Hotels by somebody... -- Andrew Sterling Hanenkamp 785-370-4454 http://contentment.org On Jun 22, 2010 1:42 PM, "Jay Hannah" wrote: Wow. perl5i looks like a great way to jump very quickly into all the great new stuff from 5.10, 5.12, and the best of breed from CPAN over the last 2-3 years! http://search.cpan.org/perldoc?perl5ifaq They've brought forward the shiniest bits so I don't have to learn *everything* to discover the good stuff. j _______________________________________________ Omaha-pm mailing list Omaha-pm at pm.org http://mail.pm.org/mailman/listinfo/omaha-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay at jays.net Mon Jun 28 19:45:24 2010 From: jay at jays.net (Jay Hannah) Date: Mon, 28 Jun 2010 21:45:24 -0500 Subject: [Omaha.pm] Greetings from YAPC (perl5i) In-Reply-To: References: <666E4684-1B16-4347-B411-55E6D4E65825@jays.net> Message-ID: On Jun 26, 2010, at 8:34 PM, Sterling Hanenkamp wrote: > There was also a reasonably good lightning talk given on Catalyst and Omni Hotels by somebody... I fell asleep during that one. http://yapc2010.com/yn2010/talk/2934 j From jhannah at omnihotels.com Tue Jun 29 13:30:15 2010 From: jhannah at omnihotels.com (Jay Hannah) Date: Tue, 29 Jun 2010 15:30:15 -0500 Subject: [Omaha.pm] map, grep in the debugger Message-ID: <396CEDAA86B38646ACE2FEAA22C3FBF103862AF1@l3exchange.omnihotels.net> Was asked these today... >From the Perl debugger, how can I see only those hash keys and contain 'DAY'? $ perl -d -e 1 DB<2> %hash = ( FOO => 1, DAYLIGHT => 2, DAYTIME => 3, BAR => 4) DB<3> x grep { /DAY/ } keys %hash 0 'DAYTIME' 1 'DAYLIGHT' What if I want the keys and values where the keys contain 'DAY'? DB<4> x map { $_ => $hash{$_} } grep { /DAY/ } keys %hash 0 'DAYTIME' 1 3 2 'DAYLIGHT' 3 2 Perl++ :) j -------------- next part -------------- An HTML attachment was scrubbed... URL: