From gwadej at anomaly.org Tue Jul 1 16:46:55 2008 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 1 Jul 2008 18:46:55 -0500 Subject: [pm-h] Next Week's Meeting Message-ID: <20080701184655.70f90301@sovvan> We seem to have a few choices for next week's meeting (July 8). 1. Todd has offered a hands on workshop for downloading and building perl6/parrot, along with discussion of perl6/parrot projects. This would also lead to having Patrick Michaud come to Houston to talk about Houston.pm contributing to Perl6. 2. I offered to do an introduction to parsing covering the major types of parsers and some basics of language design. Let us know which you are interested in so that Todd or I can finish our preparations for next week. G. Wade -- The competent programmer is fully aware of the limited size of his own skull. He therefore approaches his task with full humility, and avoids clever tricks like the plague. -- Edsger Dijkstra From toddr at null.net Sun Jul 6 08:37:00 2008 From: toddr at null.net (Todd Rinaldo) Date: Sun, 6 Jul 2008 10:37:00 -0500 Subject: [pm-h] Next Week's Meeting In-Reply-To: <20080701184655.70f90301@sovvan> References: <20080701184655.70f90301@sovvan> Message-ID: Tuesday, I'll be helping everyone get their hands on parrot/perl6. To speed things along, you should have SVN (see links below) installed. The binaries are off the main page. If you have windows, you can optionally also install Tortoise. Please let me know if you need any assistance on any of this by emailing to the list. Looking forward to it. Todd SVN: http://subversion.tigris.org/ Tortoise: http://tortoisesvn.net/downloads On Tue, Jul 1, 2008 at 6:46 PM, G. Wade Johnson wrote: > We seem to have a few choices for next week's meeting (July 8). > > 1. Todd has offered a hands on workshop for downloading and building > perl6/parrot, along with discussion of perl6/parrot projects. > > This would also lead to having Patrick Michaud come to Houston to talk > about Houston.pm contributing to Perl6. > > 2. I offered to do an introduction to parsing covering the major types > of parsers and some basics of language design. > > Let us know which you are interested in so that Todd or I can finish > our preparations for next week. > > G. Wade > -- > The competent programmer is fully aware of the limited size of his own > skull. He therefore approaches his task with full humility, and avoids > clever tricks like the plague. -- Edsger Dijkstra > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > > -- Todd Rinaldo toddr at null.net From gwadej at anomaly.org Mon Jul 7 05:18:43 2008 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 7 Jul 2008 07:18:43 -0500 Subject: [pm-h] July Meeting Message-ID: <20080707071843.33bad829@sovvan> Reminder to everyone that the July Houston.pm meeting is tomorrow, Tuesday, July 8. As usual, we will meet at 1111 Fannin St. downtown. A map is available on the meeting page (http://houston.pm.org/meetings.html). We'll meet in the lobby from 6pm to about 6:20pm and go to the meeting room from there. Parking on the street is free after 6pm. This month, Todd Rinaldo will be showing us how to install Parrot/Perl6 and updating us on what he learned at YAPC this year. Looking forward to seeing you all there. G. Wade -- Who knows what email lurks in the hearts of men? From gwadej at anomaly.org Wed Jul 16 17:01:54 2008 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 16 Jul 2008 19:01:54 -0500 Subject: [pm-h] Fw: UG News--Going to OSCON? Message-ID: <20080716190154.1ce32de1@sovvan> Message from our user group contact at O'Reilly. Begin forwarded message: Date: Wed, 16 Jul 2008 09:29:27 -0700 From: "Marsee Henon" To: gwadej at anomaly.org Subject: UG News--Going to OSCON? Can you pass this note along to your members who are going to OSCON? Got any old O'Reilly shirts at home? If so, bring them to OSCON! Be one of the first 50 people to come by the O'Reilly booth (#313) wearing one of our t-shirts to win cool prizes and be included in our t-shirt photo collage. The grand prize goes to the person who has more O'Reilly shirts than everyone else, so bring 'em all! Follow the O'Reilly booth on Twitter during the conference: http://twitter.com/oreillyatoscon for your chance to win prizes during the show. You can also follow http://twitter.com/oscon for ongoing conference updates throughout the show. Thanks for your help, Marsee ================================================================ O'Reilly 1005 Gravenstein Highway North Sebastopol, CA 95472 http://ug.oreilly.com/ ================================================================ -- It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong. -- Richard Feynman From cmdickens at gmail.com Mon Jul 21 09:34:58 2008 From: cmdickens at gmail.com (Michael Dickens) Date: Mon, 21 Jul 2008 11:34:58 -0500 Subject: [pm-h] July Meeting In-Reply-To: <20080707071843.33bad829@sovvan> References: <20080707071843.33bad829@sovvan> Message-ID: <6db6c4a40807210934h34c94a31n6442c04c189b3cf0@mail.gmail.com> Hello all. I live in Pearland and I have been following your group for a while and want to see if you can help me with a problem I am having. I am retreiving data from mysql using DBI here is the code while ( ($id, $vote) = $sth->fetchrow_array() ) { $vote = "maybe" if vote == ""; print "$id\t$vote\n"; } but when I do this, all the vote records retreived are changed to 'maybe' instead of just the ones that match "". Can I use a conditional statement on the values retreived from mysql? here is what is in mysql *id | vote* 1 | no 2 | NULL 3 | yes thanks Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: From robo4288 at gmail.com Mon Jul 21 09:42:27 2008 From: robo4288 at gmail.com (Robert Boone) Date: Mon, 21 Jul 2008 11:42:27 -0500 Subject: [pm-h] July Meeting In-Reply-To: <6db6c4a40807210934h34c94a31n6442c04c189b3cf0@mail.gmail.com> References: <20080707071843.33bad829@sovvan> <6db6c4a40807210934h34c94a31n6442c04c189b3cf0@mail.gmail.com> Message-ID: <50BB69CB-7418-4DFA-A60D-13CD21DDE2A6@gmail.com> It maybe as simple as changing == to eq On Jul 21, 2008, at 11:34 AM, Michael Dickens wrote: > Hello all. I live in Pearland and I have been following your group > for a while and want to see if you can help me with a problem I am > having. > > I am retreiving data from mysql using DBI here is the code > > while ( ($id, $vote) = $sth->fetchrow_array() ) { > $vote = "maybe" if vote == ""; > print "$id\t$vote\n"; > } > > but when I do this, all the vote records retreived are changed to > 'maybe' instead of just the ones that match "". > Can I use a conditional statement on the values retreived from mysql? > > here is what is in mysql > id | vote > 1 | no > 2 | NULL > 3 | yes > > > thanks > Michael > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2419 bytes Desc: not available URL: From cmdickens at gmail.com Mon Jul 21 09:54:23 2008 From: cmdickens at gmail.com (Michael Dickens) Date: Mon, 21 Jul 2008 11:54:23 -0500 Subject: [pm-h] July Meeting In-Reply-To: <50BB69CB-7418-4DFA-A60D-13CD21DDE2A6@gmail.com> References: <20080707071843.33bad829@sovvan> <6db6c4a40807210934h34c94a31n6442c04c189b3cf0@mail.gmail.com> <50BB69CB-7418-4DFA-A60D-13CD21DDE2A6@gmail.com> Message-ID: <6db6c4a40807210954w7c9efd11w84cb78407a569ceb@mail.gmail.com> thanks, it was that simple. On Mon, Jul 21, 2008 at 11:42 AM, Robert Boone wrote: > It maybe as simple as changing == to eq > > > > > > On Jul 21, 2008, at 11:34 AM, Michael Dickens wrote: > > Hello all. I live in Pearland and I have been following your group for a >> while and want to see if you can help me with a problem I am having. >> >> I am retreiving data from mysql using DBI here is the code >> >> while ( ($id, $vote) = $sth->fetchrow_array() ) { >> $vote = "maybe" if vote == ""; >> print "$id\t$vote\n"; >> } >> >> but when I do this, all the vote records retreived are changed to 'maybe' >> instead of just the ones that match "". >> Can I use a conditional statement on the values retreived from mysql? >> >> here is what is in mysql >> id | vote >> 1 | no >> 2 | NULL >> 3 | yes >> >> >> thanks >> Michael >> >> >> _______________________________________________ >> Houston mailing list >> Houston at pm.org >> http://mail.pm.org/mailman/listinfo/houston >> Website: http://houston.pm.org/ >> > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > -- easy as Perl -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd.e.rinaldo at jpmorgan.com Mon Jul 21 13:28:12 2008 From: todd.e.rinaldo at jpmorgan.com (todd.e.rinaldo at jpmorgan.com) Date: Mon, 21 Jul 2008 15:28:12 -0500 Subject: [pm-h] July Meeting Message-ID: or... $vote = "maybe" if (!$vote); empty strings and undef are both is false for truth testing. -----Original Message----- From: houston-bounces+todd.e.rinaldo=jpmorgan.com at pm.org [mailto:houston-bounces+todd.e.rinaldo=jpmorgan.com at pm.org] On Behalf Of Michael Dickens Sent: Monday, July 21, 2008 11:54 AM To: Houston.pm located in Houston, TX. Subject: Re: [pm-h] July Meeting thanks, it was that simple. On Mon, Jul 21, 2008 at 11:42 AM, Robert Boone wrote: It maybe as simple as changing == to eq On Jul 21, 2008, at 11:34 AM, Michael Dickens wrote: Hello all. I live in Pearland and I have been following your group for a while and want to see if you can help me with a problem I am having. I am retreiving data from mysql using DBI here is the code while ( ($id, $vote) = $sth->fetchrow_array() ) { $vote = "maybe" if vote == ""; print "$id\t$vote\n"; } but when I do this, all the vote records retreived are changed to 'maybe' instead of just the ones that match "". Can I use a conditional statement on the values retreived from mysql? here is what is in mysql id | vote 1 | no 2 | NULL 3 | yes thanks Michael _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -- easy as Perl Generally, this communication is for informational purposes only and it is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. In the event you are receiving the offering materials attached below related to your interest in hedge funds or private equity, this communication may be intended as an offer or solicitation for the purchase or sale of such fund(s). All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK legal entities. -------------- next part -------------- An HTML attachment was scrubbed... URL: From will.willis at gmail.com Mon Jul 21 20:23:41 2008 From: will.willis at gmail.com (Will Willis) Date: Mon, 21 Jul 2008 22:23:41 -0500 Subject: [pm-h] July Meeting In-Reply-To: References: Message-ID: <6ee1e6090807212023r7849d4afl9545319532d151ea@mail.gmail.com> let the golf begin :) $vote ||= 'maybe'; -Will On Mon, Jul 21, 2008 at 3:28 PM, wrote: > or... $vote = "maybe" if (!$vote); > > empty strings and undef are both is false for truth testing. > > -----Original Message----- > *From:* houston-bounces+todd.e.rinaldo=jpmorgan.com at pm.org [mailto: > houston-bounces+todd.e.rinaldo = > jpmorgan.com at pm.org] *On Behalf Of *Michael Dickens > *Sent:* Monday, July 21, 2008 11:54 AM > *To:* Houston.pm located in Houston, TX. > *Subject:* Re: [pm-h] July Meeting > > thanks, it was that simple. > > On Mon, Jul 21, 2008 at 11:42 AM, Robert Boone wrote: > >> It maybe as simple as changing == to eq >> >> >> >> >> >> On Jul 21, 2008, at 11:34 AM, Michael Dickens wrote: >> >> Hello all. I live in Pearland and I have been following your group for >>> a while and want to see if you can help me with a problem I am having. >>> >>> I am retreiving data from mysql using DBI here is the code >>> >>> while ( ($id, $vote) = $sth->fetchrow_array() ) { >>> $vote = "maybe" if vote == ""; >>> print "$id\t$vote\n"; >>> } >>> >>> but when I do this, all the vote records retreived are changed to 'maybe' >>> instead of just the ones that match "". >>> Can I use a conditional statement on the values retreived from mysql? >>> >>> here is what is in mysql >>> id | vote >>> 1 | no >>> 2 | NULL >>> 3 | yes >>> >>> >>> thanks >>> Michael >>> >>> >>> _______________________________________________ >>> Houston mailing list >>> Houston at pm.org >>> http://mail.pm.org/mailman/listinfo/houston >>> Website: http://houston.pm.org/ >>> >> >> >> _______________________________________________ >> Houston mailing list >> Houston at pm.org >> http://mail.pm.org/mailman/listinfo/houston >> Website: http://houston.pm.org/ >> > > > > -- > easy as Perl > > ------------------------------ > > Generally, this communication is for informational purposes only and it is > not intended as an offer or solicitation for the purchase or sale of any > financial instrument or as an official confirmation of any transaction. In > the event you are receiving the offering materials attached below related to > your interest in hedge funds or private equity, this communication may be > intended as an offer or solicitation for the purchase or sale of such > fund(s). All market prices, data and other information are not warranted as > to completeness or accuracy and are subject to change without notice. Any > comments or statements made herein do not necessarily reflect those of > JPMorgan Chase & Co., its subsidiaries and affiliates. This transmission may > contain information that is privileged, confidential, legally privileged, > and/or exempt from disclosure under applicable law. If you are not the > intended recipient, you are hereby notified that any disclosure, copying, > distribution, or use of the information contained herein (including any > reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any > attachments are believed to be free of any virus or other defect that might > affect any computer system into which it is received and opened, it is the > responsibility of the recipient to ensure that it is virus free and no > responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and > affiliates, as applicable, for any loss or damage arising in any way from > its use. If you received this transmission in error, please immediately > contact the sender and destroy the material in its entirety, whether in > electronic or hard copy format. Thank you. Please refer to > http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK > legal entities. > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd.e.rinaldo at jpmorgan.com Tue Jul 22 00:57:59 2008 From: todd.e.rinaldo at jpmorgan.com (todd.e.rinaldo at jpmorgan.com) Date: Tue, 22 Jul 2008 02:57:59 -0500 Subject: [pm-h] July Meeting Message-ID: that only works in 5.10 right? -----Original Message----- From: houston-bounces+todd.e.rinaldo=jpmorgan.com at pm.org [mailto:houston-bounces+todd.e.rinaldo=jpmorgan.com at pm.org] On Behalf Of Will Willis Sent: Monday, July 21, 2008 10:24 PM To: Houston.pm located in Houston, TX. Subject: Re: [pm-h] July Meeting let the golf begin :) $vote ||= 'maybe'; -Will On Mon, Jul 21, 2008 at 3:28 PM, wrote: or... $vote = "maybe" if (!$vote); empty strings and undef are both is false for truth testing. -----Original Message----- From: houston-bounces+todd.e.rinaldo=jpmorgan.com at pm.org [mailto:houston-bounces+todd.e.rinaldo =jpmorgan.com at pm.org] On Behalf Of Michael Dickens Sent: Monday, July 21, 2008 11:54 AM To: Houston.pm located in Houston, TX. Subject: Re: [pm-h] July Meeting thanks, it was that simple. On Mon, Jul 21, 2008 at 11:42 AM, Robert Boone wrote: It maybe as simple as changing == to eq On Jul 21, 2008, at 11:34 AM, Michael Dickens wrote: Hello all. I live in Pearland and I have been following your group for a while and want to see if you can help me with a problem I am having. I am retreiving data from mysql using DBI here is the code while ( ($id, $vote) = $sth->fetchrow_array() ) { $vote = "maybe" if vote == ""; print "$id\t$vote\n"; } but when I do this, all the vote records retreived are changed to 'maybe' instead of just the ones that match "". Can I use a conditional statement on the values retreived from mysql? here is what is in mysql id | vote 1 | no 2 | NULL 3 | yes thanks Michael _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -- easy as Perl _____ Generally, this communication is for informational purposes only and it is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. In the event you are receiving the offering materials attached below related to your interest in hedge funds or private equity, this communication may be intended as an offer or solicitation for the purchase or sale of such fund(s). All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK legal entities. _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ Generally, this communication is for informational purposes only and it is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. In the event you are receiving the offering materials attached below related to your interest in hedge funds or private equity, this communication may be intended as an offer or solicitation for the purchase or sale of such fund(s). All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK legal entities. -------------- next part -------------- An HTML attachment was scrubbed... URL: From will.willis at gmail.com Tue Jul 22 04:02:38 2008 From: will.willis at gmail.com (Will Willis) Date: Tue, 22 Jul 2008 06:02:38 -0500 Subject: [pm-h] July Meeting In-Reply-To: References: Message-ID: <6ee1e6090807220402nc014c99x171b774db6285ba7@mail.gmail.com> $vote //= 'maybe'; would only work in 5.10. It's the new defined-or operator. -Will On Tue, Jul 22, 2008 at 2:57 AM, wrote: > that only works in 5.10 right? > > -----Original Message----- > *From:* houston-bounces+todd.e.rinaldo=jpmorgan.com at pm.org [mailto: > houston-bounces+todd.e.rinaldo = > jpmorgan.com at pm.org] *On Behalf Of *Will Willis > *Sent:* Monday, July 21, 2008 10:24 PM > *To:* Houston.pm located in Houston, TX. > *Subject:* Re: [pm-h] July Meeting > > let the golf begin :) > > $vote ||= 'maybe'; > > -Will > > > On Mon, Jul 21, 2008 at 3:28 PM, wrote: > >> or... $vote = "maybe" if (!$vote); >> >> empty strings and undef are both is false for truth testing. >> >> -----Original Message----- >> *From:* houston-bounces+todd.e.rinaldo=jpmorgan.com at pm.org [mailto: >> houston-bounces+todd.e.rinaldo = >> jpmorgan.com at pm.org] *On Behalf Of *Michael Dickens >> *Sent:* Monday, July 21, 2008 11:54 AM >> *To:* Houston.pm located in Houston, TX. >> *Subject:* Re: [pm-h] July Meeting >> >> thanks, it was that simple. >> >> On Mon, Jul 21, 2008 at 11:42 AM, Robert Boone >> wrote: >> >>> It maybe as simple as changing == to eq >>> >>> >>> >>> >>> >>> On Jul 21, 2008, at 11:34 AM, Michael Dickens wrote: >>> >>> Hello all. I live in Pearland and I have been following your group for >>>> a while and want to see if you can help me with a problem I am having. >>>> >>>> I am retreiving data from mysql using DBI here is the code >>>> >>>> while ( ($id, $vote) = $sth->fetchrow_array() ) { >>>> $vote = "maybe" if vote == ""; >>>> print "$id\t$vote\n"; >>>> } >>>> >>>> but when I do this, all the vote records retreived are changed to >>>> 'maybe' instead of just the ones that match "". >>>> Can I use a conditional statement on the values retreived from mysql? >>>> >>>> here is what is in mysql >>>> id | vote >>>> 1 | no >>>> 2 | NULL >>>> 3 | yes >>>> >>>> >>>> thanks >>>> Michael >>>> >>>> >>>> _______________________________________________ >>>> Houston mailing list >>>> Houston at pm.org >>>> http://mail.pm.org/mailman/listinfo/houston >>>> Website: http://houston.pm.org/ >>>> >>> >>> >>> _______________________________________________ >>> Houston mailing list >>> Houston at pm.org >>> http://mail.pm.org/mailman/listinfo/houston >>> Website: http://houston.pm.org/ >>> >> >> >> >> -- >> easy as Perl >> >> ------------------------------ >> >> Generally, this communication is for informational purposes only and it is >> not intended as an offer or solicitation for the purchase or sale of any >> financial instrument or as an official confirmation of any transaction. In >> the event you are receiving the offering materials attached below related to >> your interest in hedge funds or private equity, this communication may be >> intended as an offer or solicitation for the purchase or sale of such >> fund(s). All market prices, data and other information are not warranted as >> to completeness or accuracy and are subject to change without notice. Any >> comments or statements made herein do not necessarily reflect those of >> JPMorgan Chase & Co., its subsidiaries and affiliates. This transmission may >> contain information that is privileged, confidential, legally privileged, >> and/or exempt from disclosure under applicable law. If you are not the >> intended recipient, you are hereby notified that any disclosure, copying, >> distribution, or use of the information contained herein (including any >> reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any >> attachments are believed to be free of any virus or other defect that might >> affect any computer system into which it is received and opened, it is the >> responsibility of the recipient to ensure that it is virus free and no >> responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and >> affiliates, as applicable, for any loss or damage arising in any way from >> its use. If you received this transmission in error, please immediately >> contact the sender and destroy the material in its entirety, whether in >> electronic or hard copy format. Thank you. Please refer to >> http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK >> legal entities. >> >> _______________________________________________ >> Houston mailing list >> Houston at pm.org >> http://mail.pm.org/mailman/listinfo/houston >> Website: http://houston.pm.org/ >> > > ------------------------------ > > Generally, this communication is for informational purposes only and it is > not intended as an offer or solicitation for the purchase or sale of any > financial instrument or as an official confirmation of any transaction. In > the event you are receiving the offering materials attached below related to > your interest in hedge funds or private equity, this communication may be > intended as an offer or solicitation for the purchase or sale of such > fund(s). All market prices, data and other information are not warranted as > to completeness or accuracy and are subject to change without notice. Any > comments or statements made herein do not necessarily reflect those of > JPMorgan Chase & Co., its subsidiaries and affiliates. This transmission may > contain information that is privileged, confidential, legally privileged, > and/or exempt from disclosure under applicable law. If you are not the > intended recipient, you are hereby notified that any disclosure, copying, > distribution, or use of the information contained herein (including any > reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any > attachments are believed to be free of any virus or other defect that might > affect any computer system into which it is received and opened, it is the > responsibility of the recipient to ensure that it is virus free and no > responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and > affiliates, as applicable, for any loss or damage arising in any way from > its use. If you received this transmission in error, please immediately > contact the sender and destroy the material in its entirety, whether in > electronic or hard copy format. Thank you. Please refer to > http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK > legal entities. > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Tue Jul 22 05:01:04 2008 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 22 Jul 2008 07:01:04 -0500 Subject: [pm-h] July Meeting In-Reply-To: References: Message-ID: <20080722070104.0615c62a@sovvan> Works as far back as I can remember. On Tue, 22 Jul 2008 02:57:59 -0500 todd.e.rinaldo at jpmorgan.com wrote: > that only works in 5.10 right? > > -----Original Message----- > From: houston-bounces+todd.e.rinaldo=jpmorgan.com at pm.org > [mailto:houston-bounces+todd.e.rinaldo=jpmorgan.com at pm.org] On Behalf > Of Will Willis > Sent: Monday, July 21, 2008 10:24 PM > To: Houston.pm located in Houston, TX. > Subject: Re: [pm-h] July Meeting > > > let the golf begin :) > > $vote ||= 'maybe'; > > -Will > > > On Mon, Jul 21, 2008 at 3:28 PM, wrote: > > > or... $vote = "maybe" if (!$vote); > > empty strings and undef are both is false for truth testing. > > -----Original Message----- > From: houston-bounces+todd.e.rinaldo=jpmorgan.com at pm.org > [mailto:houston-bounces+todd.e.rinaldo > =jpmorgan.com at pm.org] On > Behalf Of Michael Dickens > Sent: Monday, July 21, 2008 11:54 AM > To: Houston.pm located in Houston, TX. > Subject: Re: [pm-h] July Meeting > > > > thanks, it was that simple. > > > On Mon, Jul 21, 2008 at 11:42 AM, Robert Boone > wrote: > > > It maybe as simple as changing == to eq > > > > > > On Jul 21, 2008, at 11:34 AM, Michael Dickens wrote: > > > > Hello all. I live in Pearland and I have been following your group > for a while and want to see if you can help me with a problem I am > having. > > I am retreiving data from mysql using DBI here is the code > > while ( ($id, $vote) = $sth->fetchrow_array() ) { > $vote = "maybe" if vote == ""; > print "$id\t$vote\n"; > } > > but when I do this, all the vote records retreived are changed to > 'maybe' instead of just the ones that match "". > Can I use a conditional statement on the values retreived from mysql? > > here is what is in mysql > id | vote > 1 | no > 2 | NULL > 3 | yes > > > thanks > Michael > > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > > > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > > > > > -- No, no, you're not thinking, you're just being logical. -- Neils Bohr From toddr at null.net Tue Jul 22 07:31:39 2008 From: toddr at null.net (Todd Rinaldo) Date: Tue, 22 Jul 2008 09:31:39 -0500 Subject: [pm-h] July Meeting In-Reply-To: <20080722070104.0615c62a@sovvan> References: <20080722070104.0615c62a@sovvan> Message-ID: ok so someone explain these operators, cause obviously I shoulda read the whole camel book! Here is what I've always had to do the hard way. what's the simpler? I often do this sub foo { my $value = shift; $value = "some sorta default" if(!defined $value); } Of course sometimes I want to do the permutation: sub bar { my $value = shift; $value = "some sorta default" if(!$value); } is there a simpler way? From robo4288 at gmail.com Tue Jul 22 07:36:47 2008 From: robo4288 at gmail.com (Robert Boone) Date: Tue, 22 Jul 2008 09:36:47 -0500 Subject: [pm-h] July Meeting In-Reply-To: References: <20080722070104.0615c62a@sovvan> Message-ID: <932F7CE6-3096-454D-B105-870950140FC0@gmail.com> The short cut for if(!defined $value); is a perl 5.10/6 feature: $value //= "some sorta default"; The other is good in all perl 5 version and lower, I think: $value = "some sorta default" if(!$value); becomes $value ||= "some sorta default"; On Jul 22, 2008, at 9:31 AM, Todd Rinaldo wrote: > ok so someone explain these operators, cause obviously I shoulda read > the whole camel book! > > Here is what I've always had to do the hard way. what's the simpler? > > I often do this > sub foo { > my $value = shift; > $value = "some sorta default" if(!defined $value); > > } > > Of course sometimes I want to do the permutation: > > sub bar { > my $value = shift; > $value = "some sorta default" if(!$value); > > } > > is there a simpler way? > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2419 bytes Desc: not available URL: From toddr at null.net Tue Jul 22 10:28:00 2008 From: toddr at null.net (Todd Rinaldo) Date: Tue, 22 Jul 2008 12:28:00 -0500 Subject: [pm-h] July Meeting In-Reply-To: <932F7CE6-3096-454D-B105-870950140FC0@gmail.com> References: <20080722070104.0615c62a@sovvan> <932F7CE6-3096-454D-B105-870950140FC0@gmail.com> Message-ID: can I do $value = shift ||= "Default value" ? On Tue, Jul 22, 2008 at 9:36 AM, Robert Boone wrote: > > The short cut for if(!defined $value); is a perl 5.10/6 feature: > $value //= "some sorta default"; > > The other is good in all perl 5 version and lower, I think: > $value = "some sorta default" if(!$value); > becomes > $value ||= "some sorta default"; > > > On Jul 22, 2008, at 9:31 AM, Todd Rinaldo wrote: > >> ok so someone explain these operators, cause obviously I shoulda read >> the whole camel book! >> >> Here is what I've always had to do the hard way. what's the simpler? >> >> I often do this >> sub foo { >> my $value = shift; >> $value = "some sorta default" if(!defined $value); >> >> } >> >> Of course sometimes I want to do the permutation: >> >> sub bar { >> my $value = shift; >> $value = "some sorta default" if(!$value); >> >> } >> >> is there a simpler way? >> _______________________________________________ >> Houston mailing list >> Houston at pm.org >> http://mail.pm.org/mailman/listinfo/houston >> Website: http://houston.pm.org/ > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > -- Todd Rinaldo toddr at null.net From robo4288 at gmail.com Tue Jul 22 10:31:01 2008 From: robo4288 at gmail.com (Robert Boone) Date: Tue, 22 Jul 2008 12:31:01 -0500 Subject: [pm-h] July Meeting In-Reply-To: References: <20080722070104.0615c62a@sovvan> <932F7CE6-3096-454D-B105-870950140FC0@gmail.com> Message-ID: That would be: $value = shift || "Default value"; On Jul 22, 2008, at 12:28 PM, Todd Rinaldo wrote: > can I do $value = shift ||= "Default value" > ? -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2419 bytes Desc: not available URL: From toddr at null.net Tue Jul 22 10:45:30 2008 From: toddr at null.net (Todd Rinaldo) Date: Tue, 22 Jul 2008 12:45:30 -0500 Subject: [pm-h] July Meeting In-Reply-To: References: <20080722070104.0615c62a@sovvan> <932F7CE6-3096-454D-B105-870950140FC0@gmail.com> Message-ID: hmm... I was sure I tried that before without success. Thanks! On Tue, Jul 22, 2008 at 12:31 PM, Robert Boone wrote: > > That would be: > > $value = shift || "Default value"; > > On Jul 22, 2008, at 12:28 PM, Todd Rinaldo wrote: > >> can I do $value = shift ||= "Default value" >> ? > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > -- Todd Rinaldo toddr at null.net From gwadej at anomaly.org Tue Jul 29 20:41:35 2008 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 29 Jul 2008 22:41:35 -0500 Subject: [pm-h] August meeting topics Message-ID: <20080729224135.5dd9511e@sovvan> The date for the August meeting is approaching and we need to settle on a topic. Some ideas that we could explore 1. Discuss progress on the rakudo/Perl 6 testing project that we started last meeting. 2. Introduction to Parsing. 3. New modules or projects people are working on. Anyone have opinions, suggestions, requests? Do we want to consider a social meeting? We haven't had one of those in a while. G. Wade -- C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg. -- Bjarne Stroustrup