From richard at rushlogistics.com Tue Apr 2 10:51:16 2013 From: richard at rushlogistics.com (Richard Reina) Date: Tue, 02 Apr 2013 13:51:16 -0400 (EDT) Subject: [Chicago-talk] perl DBI error Message-ID: <20130402175117.04E52568@courageux.xo.com> use DBI; my $dbh = DBI->connect( "DBI:mysql:rushload;192.168.0.1", $usrr, $passw, { RaiseError => 3 } ); my $dbs = $dbh->selectcol_arrayref("show databases"); my $dbs = $dbh->selectcol_arrayref('show databases'); print "@$dbs\n"; When I query the server for a list of databases with the code above it returns the name of just two and there are over 10. Any ideas? Thanks -- Richard Reina Rush Logistics, Inc. Watch our 3 minute movie: http://www.rushlogistics.com/movie From don at drakeconsulting.com Tue Apr 2 10:55:53 2013 From: don at drakeconsulting.com (Don Drake) Date: Tue, 2 Apr 2013 12:55:53 -0500 Subject: [Chicago-talk] perl DBI error In-Reply-To: <20130402175117.04E52568@courageux.xo.com> References: <20130402175117.04E52568@courageux.xo.com> Message-ID: Try using the INFORMATION SCHEMA database: my $dbh = DBI->connect( "DBI:mysql:information_schema;192.168.0.1", $usrr, $passw, { RaiseError => 3 } ); -Don -- Don Drake www.drakeconsulting.com www.maillaunder.com 312-560-1574 800-733-2143 On Apr 2, 2013, at 12:51 PM, Richard Reina wrote: > use DBI; > my $dbh = DBI->connect( "DBI:mysql:rushload;192.168.0.1", $usrr, $passw, { RaiseError => 3 } ); > my $dbs = $dbh->selectcol_arrayref("show databases"); > > my $dbs = $dbh->selectcol_arrayref('show databases'); > > print "@$dbs\n"; > > When I query the server for a list of databases with the code above it returns the name of just two and there are over 10. > > Any ideas? > > Thanks > -- > Richard Reina > Rush Logistics, Inc. > Watch our 3 minute movie: > http://www.rushlogistics.com/movie > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -------------- next part -------------- An HTML attachment was scrubbed... URL: From madcityzen at gmail.com Sun Apr 21 13:11:31 2013 From: madcityzen at gmail.com (Doug Bell) Date: Sun, 21 Apr 2013 15:11:31 -0500 Subject: [Chicago-talk] Short-notice Speaker Needed Message-ID: <509FC8E8-E4E8-478B-962D-05AF231BD2B4@gmail.com> Sean is unable to speak at this week's meeting, so we need one or more people to present something. Doesn't need to be fancy, and doesn't have to take up the entire time period (15 minutes of show-and-speak would work great). I can fill some time talking about graphs and games and how to solve tic-tac-toe, checkers, and chess. Doug Bell madcityzen at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at petdance.com Sun Apr 21 13:23:01 2013 From: andy at petdance.com (Andy Lester) Date: Sun, 21 Apr 2013 15:23:01 -0500 Subject: [Chicago-talk] Short-notice Speaker Needed Message-ID: Day and time? Sent from my Verizon Wireless 4G LTE DROID Doug Bell wrote: >_______________________________________________ >Chicago-talk mailing list >Chicago-talk at pm.org >http://mail.pm.org/mailman/listinfo/chicago-talk -------------- next part -------------- An HTML attachment was scrubbed... URL: From madcityzen at gmail.com Sun Apr 21 13:26:28 2013 From: madcityzen at gmail.com (Doug Bell) Date: Sun, 21 Apr 2013 15:26:28 -0500 Subject: [Chicago-talk] Short-notice Speaker Needed In-Reply-To: References: Message-ID: <9AACD0FF-4FA3-4A45-B64D-B438C788651D@gmail.com> Sorry, forgot to fill in some details: Thursday, March 25, 6:30pm - 8:00pm. Actual presentation time can be adjusted to be later if needed (historically we've started the presentation(s) at 7:00pm to allow time for pizza and arrivals). End time is also not a hard limit, the room is open however long we need it (there's been times we have been as late as 11:00pm). Doug Bell madcityzen at gmail.com On Apr 21, 2013, at 3:23 PM, Andy Lester wrote: > Day and time? > > Sent from my Verizon Wireless 4G LTE DROID > > > Doug Bell wrote: > > Sean is unable to speak at this week's meeting, so we need one or more people to present something. Doesn't need to be fancy, and doesn't have to take up the entire time period (15 minutes of show-and-speak would work great). > > I can fill some time talking about graphs and games and how to solve tic-tac-toe, checkers, and chess. > > Doug Bell > madcityzen at gmail.com > > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -------------- next part -------------- An HTML attachment was scrubbed... URL: From madcityzen at gmail.com Mon Apr 22 10:34:56 2013 From: madcityzen at gmail.com (Doug Bell) Date: Mon, 22 Apr 2013 12:34:56 -0500 Subject: [Chicago-talk] Meeting Thursday April 25, 6:30pm - Beyond grep - Ack and other code search tools Message-ID: <1383535555782758534@unknownmsgid> This month, Andy Lester is going to be giving a talk on Ack and other code search tools. Programmers have long used grep for searching their source code, but there are tools that go beyond grep's capabilities. We'll explore some of them in this talk, with an emphasis on ack , a tool written in Perl that's based on grep but tuned specifically for programmers. Topics will include: - Staying in The Zone: Why grep isn't enough - ack and the new ack 2.0 - ctags + cscope - Integrating with your editor The presenter is Andy Lester, the author of ack, many Perl modules, and the book "Land The Tech Job You Love", published by Pragmatic Bookshelf. This meeting is at our usual location, 540 W Madison St. in the 9th floor conference rooms. Pizza and beer will be provided. RSVP on the meetup at http://www.meetup.com/Windy-City-Perl-mongers-Meetup/events/108517322/ Doug Bell madcityzen at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard at rushlogistics.com Tue Apr 23 06:24:09 2013 From: richard at rushlogistics.com (Richard Reina) Date: Tue, 23 Apr 2013 09:24:09 -0400 (EDT) Subject: [Chicago-talk] MIME::LITE question Message-ID: <20130423132409.E820B54A@courageux.xo.com> Good Morning, I send out automatic emails with the code below. Several people tell me that they go directly to their junk mail folder. Is there anything in the code that I can change to mitigate this? Thanks in advance for your attention. Richard use MIME::Lite; my $msg = MIME::Lite->new( From => $r_to, To => $tos, Cc => $ccs, Subject => $subject, Data => $body ); # set the encoding so TM symbol will show up $msg->attr('content-type.charset' => 'UTF-8'); MIME::Lite->send('smtp','smtp.rushlogistics.com.xyzhost.com', AuthUser=>$user, AuthPass=>$pass); -- Richard Reina Rush Logistics, Inc. Watch our 3 minute movie: http://www.rushlogistics.com/movie