From cajun at cajuninc.com Wed Jun 1 18:23:49 2005 From: cajun at cajuninc.com (M. Lewis) Date: Wed, 01 Jun 2005 20:23:49 -0500 Subject: [oak perl] MIME::Lite question Message-ID: <429E5FA5.3020400@cajuninc.com> I'm trying to use MIME::Lite to send out a mailing. The mailing is an HTML document ($content) with two images in it. The message is being sent as HTML, however the two images do not appear. I've tried adding other attachments for the two images, but that just makes them appear as attachments (duh..) rather than in the HTML document. Obviously I have missed the boat here somewhere. Suggestions welcome. Thanks, Mike $msg = MIME::Lite->new( From => "$from", To => "$recipient", Subject => "$subject", Date => `date`, Type => 'multipart/related', ); $msg->attach(Type => 'text/html', Path => "$content"); -- Real programs don't eat cache. 20:19:01 up 7 days, 2:36, 7 users, load average: 0.00, 0.05, 0.08 Linux Registered User #241685 http://counter.li.org From cajun at cajuninc.com Wed Jun 1 18:28:24 2005 From: cajun at cajuninc.com (M. Lewis) Date: Wed, 01 Jun 2005 20:28:24 -0500 Subject: [oak perl] Comparing two files In-Reply-To: <20050531075413.DD94C1776F@x6.develooper.com> References: <20050531075413.DD94C1776F@x6.develooper.com> Message-ID: <429E60B8.7000607@cajuninc.com> Thanks Chris. I haven't had time to look at the code yet. I've been swamped with a few other things for the moment. I will however check this out more closely. Nope, don't mind the deludge of responses at all. Proves TIMTOWTDI. Thanks, Mike Chris Yager wrote: > Mike, > > In my tests the most efficient way to determine > unique from duplicate lines was with a Perl hash. > > Enclosed please find: > "dups.pl" does the work. > "dupslib.pm" puts content in your scalers & > consumes $differences. > > dups.pl uses a group of lines to fill the hash with $longfile, > it then uses another group of lines to search for unique lines > in $shortfile. > The intent is to make it clear what is going on. > > dups.pl has 2 lines commented out at the end. > They do the same thing as the 2 groups of earlier lines, > but are more obscure. > > Did you enjoy the deluge of responses? > > You wrote: > >>my $shortfile; >>my $longfile; >>my $differences; >> >> >>I'm writing a script to compare two text files ($shortfile & $longfile). >>If a line appears in $shortfile, but that line is not in $longfile, then >>I want to write that line out to $differences >> >>I'm relatively certain it is not efficient to open $longfile for each >>entry in $shortfile. Both files are of the magnitude of 800+ lines. >> >>For example, a given line in $shortfile is found at line 333 in >>$longfile. Without closing and reopening $longfile, I don't know how to >>reset the 'pointer' in $longfile back to line 1. >> >>Perhaps there is a better way of doing this. I hope I've explained what >>I'm trying to do clearly. >> >>Suggestions ? >> >>Thanks, >>Mike > > > > Chris Yager > (510)317-5900 > iceman at prado.com > > > ------------------------------------------------------------------------ > > _______________________________________________ > Oakland mailing list > Oakland at pm.org > http://mail.pm.org/mailman/listinfo/oakland -- Any given program will expand to fill available memory. 20:26:01 up 7 days, 2:43, 7 users, load average: 0.01, 0.04, 0.07 Linux Registered User #241685 http://counter.li.org From cajun at cajuninc.com Wed Jun 1 19:45:09 2005 From: cajun at cajuninc.com (M. Lewis) Date: Wed, 01 Jun 2005 21:45:09 -0500 Subject: [oak perl] MIME::Lite question In-Reply-To: <429E5FA5.3020400@cajuninc.com> References: <429E5FA5.3020400@cajuninc.com> Message-ID: <429E72B5.60707@cajuninc.com> NOTE: It has been pointed out to me (off-list) that most folks don't like HTML mail. I couldn't agree more. It's the person with the pointy little head that I'm sending this for who against everything I said, wants it done in HTML. Grrrrr... M M. Lewis wrote: > I'm trying to use MIME::Lite to send out a mailing. The mailing is an > HTML document ($content) with two images in it. > > The message is being sent as HTML, however the two images do not appear. > I've tried adding other attachments for the two images, but that just > makes them appear as attachments (duh..) rather than in the HTML document. > > Obviously I have missed the boat here somewhere. Suggestions welcome. > > Thanks, > Mike > > > $msg = MIME::Lite->new( > From => "$from", > To => "$recipient", > Subject => "$subject", > Date => `date`, > Type => 'multipart/related', > ); > > $msg->attach(Type => 'text/html', > Path => "$content"); > -- IBM: Insulting Boorish Manner 21:42:01 up 7 days, 3:59, 8 users, load average: 0.09, 0.13, 0.10 Linux Registered User #241685 http://counter.li.org From extasia at gmail.com Wed Jun 1 20:14:49 2005 From: extasia at gmail.com (David Alban) Date: Wed, 1 Jun 2005 20:14:49 -0700 Subject: [oak perl] MIME::Lite question In-Reply-To: <429E72B5.60707@cajuninc.com> References: <429E5FA5.3020400@cajuninc.com> <429E72B5.60707@cajuninc.com> Message-ID: <4c714a9c05060120141d92b908@mail.gmail.com> There was an acronym coined on one of the dc-sage lists a few years back by Jamie Flournoy: NMD (not my decision) It's *very* useful. :-) On 6/1/05, M. Lewis wrote: > NOTE: It has been pointed out to me (off-list) that most folks don't > like HTML mail. I couldn't agree more. It's the person with the pointy > little head that I'm sending this for who against everything I said, > wants it done in HTML. Grrrrr... > > M > > M. Lewis wrote: > > I'm trying to use MIME::Lite to send out a mailing. The mailing is an > > HTML document ($content) with two images in it. > > > > The message is being sent as HTML, however the two images do not appear. > > I've tried adding other attachments for the two images, but that just > > makes them appear as attachments (duh..) rather than in the HTML document. > > > > Obviously I have missed the boat here somewhere. Suggestions welcome. > > > > Thanks, > > Mike > > > > > > $msg = MIME::Lite->new( > > From => "$from", > > To => "$recipient", > > Subject => "$subject", > > Date => `date`, > > Type => 'multipart/related', > > ); > > > > $msg->attach(Type => 'text/html', > > Path => "$content"); > > > > -- > > IBM: Insulting Boorish Manner > 21:42:01 up 7 days, 3:59, 8 users, load average: 0.09, 0.13, 0.10 > > Linux Registered User #241685 http://counter.li.org > _______________________________________________ > Oakland mailing list > Oakland at pm.org > http://mail.pm.org/mailman/listinfo/oakland > > -- Live in a world of your own, but always welcome visitors. From cajun at cajuninc.com Wed Jun 1 20:23:12 2005 From: cajun at cajuninc.com (M. Lewis) Date: Wed, 01 Jun 2005 22:23:12 -0500 Subject: [oak perl] MIME::Lite question In-Reply-To: <4c714a9c05060120141d92b908@mail.gmail.com> References: <429E5FA5.3020400@cajuninc.com> <429E72B5.60707@cajuninc.com> <4c714a9c05060120141d92b908@mail.gmail.com> Message-ID: <429E7BA0.70201@cajuninc.com> This was definately NMD..... Gracias, I will try to remember that. M David Alban wrote: > There was an acronym coined on one of the dc-sage lists a few years > back by Jamie Flournoy: > > NMD (not my decision) > > It's *very* useful. :-) > > On 6/1/05, M. Lewis wrote: > >>NOTE: It has been pointed out to me (off-list) that most folks don't >>like HTML mail. I couldn't agree more. It's the person with the pointy >>little head that I'm sending this for who against everything I said, >>wants it done in HTML. Grrrrr... >> >>M >> >>M. Lewis wrote: >> >>>I'm trying to use MIME::Lite to send out a mailing. The mailing is an >>>HTML document ($content) with two images in it. >>> >>>The message is being sent as HTML, however the two images do not appear. >>> I've tried adding other attachments for the two images, but that just >>>makes them appear as attachments (duh..) rather than in the HTML document. >>> >>>Obviously I have missed the boat here somewhere. Suggestions welcome. >>> >>>Thanks, >>>Mike >>> >>> >>>$msg = MIME::Lite->new( >>> From => "$from", >>> To => "$recipient", >>> Subject => "$subject", >>> Date => `date`, >>> Type => 'multipart/related', >>>); >>> >>>$msg->attach(Type => 'text/html', >>>Path => "$content"); >>> >> >>-- >> >> IBM: Insulting Boorish Manner >> 21:42:01 up 7 days, 3:59, 8 users, load average: 0.09, 0.13, 0.10 >> >> Linux Registered User #241685 http://counter.li.org >>_______________________________________________ >>Oakland mailing list >>Oakland at pm.org >>http://mail.pm.org/mailman/listinfo/oakland >> >> > > > -- IBM: Impersonal Bellicose Magnate 22:22:01 up 7 days, 4:39, 8 users, load average: 0.01, 0.04, 0.06 Linux Registered User #241685 http://counter.li.org From mp at rawbw.com Wed Jun 1 21:10:16 2005 From: mp at rawbw.com (Michael Paoli) Date: Wed, 1 Jun 2005 21:10:16 -0700 Subject: [oak perl] MIME::Lite question In-Reply-To: <429E72B5.60707@cajuninc.com> References: <429E5FA5.3020400@cajuninc.com> <429E72B5.60707@cajuninc.com> Message-ID: <1117685416.429e86a85f6ff@webmail.rawbw.com> There is MIME multipart/alternative. Done well, though it still comparatively wastes space/bandwidth, it may be less egregious. But messing up MIME multipart/alternative tends to reflect rather poorly on the sender and/or their software (spammers and malware often intentionally misuse multipart/alternative, and some buggy software also messes it up horribly - these aberrant behaviors can be quite problematic/annoying for recipients). Maybe someone on the list already knows if there are modules, etc., that are particularly useful for constructing MIME multipart/alternative. http://www.faqs.org/rfcs/rfc2046.html Quoting "M. Lewis" : > NOTE: It has been pointed out to me (off-list) that most folks don't > like HTML mail. I couldn't agree more. It's the person with the pointy > little head that I'm sending this for who against everything I said, > wants it done in HTML. Grrrrr... > > M > > M. Lewis wrote: > > I'm trying to use MIME::Lite to send out a mailing. The mailing is an > > HTML document ($content) with two images in it. > > > > The message is being sent as HTML, however the two images do not appear. > > I've tried adding other attachments for the two images, but that just > > makes them appear as attachments (duh..) rather than in the HTML > document. > > > > Obviously I have missed the boat here somewhere. Suggestions welcome. > > > > Thanks, > > Mike > > > > > > $msg = MIME::Lite->new( > > From => "$from", > > To => "$recipient", > > Subject => "$subject", > > Date => `date`, > > Type => 'multipart/related', > > ); > > > > $msg->attach(Type => 'text/html', > > Path => "$content"); From cajun at cajuninc.com Wed Jun 1 21:42:39 2005 From: cajun at cajuninc.com (M. Lewis) Date: Wed, 01 Jun 2005 23:42:39 -0500 Subject: [oak perl] MIME::Lite question In-Reply-To: <1117685416.429e86a85f6ff@webmail.rawbw.com> References: <429E5FA5.3020400@cajuninc.com> <429E72B5.60707@cajuninc.com> <1117685416.429e86a85f6ff@webmail.rawbw.com> Message-ID: <429E8E3F.4030305@cajuninc.com> Thanks Michael. As David just gave me a new acronym.... NMD. I've found through many google searches there is a module called MIME::Lite::HTML. I've just begun trying this, but right now, it's not working like I want. I've tried: my $msg = new MIME::Lite::HTML From => "$from", To => "$recipient", Subject => "$subject"; $msg = $msg->parse("$content"); $msg->send; But all that really happens with this is it sends the filename as the message rather than the html. M Michael Paoli wrote: > There is MIME multipart/alternative. Done well, though it still > comparatively wastes space/bandwidth, it may be less egregious. > But messing up MIME multipart/alternative tends to reflect rather poorly > on the sender and/or their software (spammers and malware often > intentionally misuse multipart/alternative, and some buggy software > also messes it up horribly - these aberrant behaviors can be quite > problematic/annoying for recipients). Maybe someone on the list already > knows if there are modules, etc., that are particularly useful for > constructing MIME multipart/alternative. > > http://www.faqs.org/rfcs/rfc2046.html > > Quoting "M. Lewis" : > > >>NOTE: It has been pointed out to me (off-list) that most folks don't >>like HTML mail. I couldn't agree more. It's the person with the pointy >>little head that I'm sending this for who against everything I said, >>wants it done in HTML. Grrrrr... >> >>M >> >>M. Lewis wrote: >> >>>I'm trying to use MIME::Lite to send out a mailing. The mailing is an >>>HTML document ($content) with two images in it. >>> >>>The message is being sent as HTML, however the two images do not appear. >>> I've tried adding other attachments for the two images, but that just >>>makes them appear as attachments (duh..) rather than in the HTML >> >>document. >> >>>Obviously I have missed the boat here somewhere. Suggestions welcome. >>> >>>Thanks, >>>Mike >>> >>> >>>$msg = MIME::Lite->new( >>> From => "$from", >>> To => "$recipient", >>> Subject => "$subject", >>> Date => `date`, >>> Type => 'multipart/related', >>>); >>> >>>$msg->attach(Type => 'text/html', >>>Path => "$content"); > > -- LISP: To call a spade a thpade. 23:28:01 up 7 days, 5:45, 8 users, load average: 0.00, 0.04, 0.06 Linux Registered User #241685 http://counter.li.org From david at fetter.org Thu Jun 2 01:17:23 2005 From: david at fetter.org (David Fetter) Date: Thu, 2 Jun 2005 01:17:23 -0700 Subject: [oak perl] MIME::Lite question In-Reply-To: <4c714a9c05060120141d92b908@mail.gmail.com> References: <429E5FA5.3020400@cajuninc.com> <429E72B5.60707@cajuninc.com> <4c714a9c05060120141d92b908@mail.gmail.com> Message-ID: <20050602081723.GA5635@fetter.org> On Wed, Jun 01, 2005 at 08:14:49PM -0700, David Alban wrote: > There was an acronym coined on one of the dc-sage lists a few years > back by Jamie Flournoy: > > NMD (not my decision) > > It's *very* useful. :-) For items like this, it can be quite handy. Then again, I've had an exciting working life so far: a lucky one some ways, so I haven't felt much need to use it. Usually, asking for a notarized record detailing the circumstances and enumerating the objections I've raised is enough to put the kibosh on this kind of nonsense. Here's a quote I haven't use on a boss yet, but it's a good one to keep handy, too: Most people, on listening to a string of nonsense, will tend to doubt their own sanity before they realize that the person who is jabbering at them is really the one with the damaged brain. Neal Stephenson, The Big U > On 6/1/05, M. Lewis wrote: > > NOTE: It has been pointed out to me (off-list) that most folks don't > > like HTML mail. I couldn't agree more. It's the person with the pointy > > little head that I'm sending this for who against everything I said, > > wants it done in HTML. Grrrrr... > > > > M > > > > M. Lewis wrote: > > > I'm trying to use MIME::Lite to send out a mailing. The mailing is an > > > HTML document ($content) with two images in it. > > > > > > The message is being sent as HTML, however the two images do not appear. > > > I've tried adding other attachments for the two images, but that just > > > makes them appear as attachments (duh..) rather than in the HTML document. > > > > > > Obviously I have missed the boat here somewhere. Suggestions welcome. > > > > > > Thanks, > > > Mike > > > > > > > > > $msg = MIME::Lite->new( > > > From => "$from", > > > To => "$recipient", > > > Subject => "$subject", > > > Date => `date`, > > > Type => 'multipart/related', > > > ); > > > > > > $msg->attach(Type => 'text/html', > > > Path => "$content"); > > > > > > > -- > > > > IBM: Insulting Boorish Manner > > 21:42:01 up 7 days, 3:59, 8 users, load average: 0.09, 0.13, 0.10 > > > > Linux Registered User #241685 http://counter.li.org > > _______________________________________________ > > Oakland mailing list > > Oakland at pm.org > > http://mail.pm.org/mailman/listinfo/oakland > > > > > > > -- > Live in a world of your own, but always welcome visitors. > _______________________________________________ > Oakland mailing list > Oakland at pm.org > http://mail.pm.org/mailman/listinfo/oakland -- David Fetter david at fetter.org http://fetter.org/ phone: +1 510 893 6100 mobile: +1 415 235 3778 Remember to vote! From oaklandpm at eli.users.panix.com Thu Jun 2 11:16:27 2005 From: oaklandpm at eli.users.panix.com (Eli the Bearded) Date: Thu, 2 Jun 2005 14:16:27 -0400 (EDT) Subject: [oak perl] MIME::Lite question Message-ID: <200506021816.j52IGR529608@panix2.panix.com> Mike Lewis wrote: > The message is being sent as HTML, however the two images do not appear. > I've tried adding other attachments for the two images, but that just > makes them appear as attachments (duh..) rather than in the HTML > document. > > Obviously I have missed the boat here somewhere. Suggestions welcome. A mere "does not appear" doesn't really help. Are the images not in the MIME output at all? Or is it that the HTML portion does not find the images? I come from this as someone who has very little experience using MIME generators (and none with MIME::Lite), but a fair amount of MIME parsing experience. I don't know how to do what you want with that module, and I don't know if there is a better one. I *do* know what the MIME output should look like. Normal: mail Headers: and such MIME-Version: 1.0 (flag that this is a MIME message) Content-Type: multipart/related (these things go together); boundary="-->8--cut-here--" This is the message preamble. Only non-MIME readers get to see this. ---->8--cut-here-- Content-Type: text/html; charset="us-ascii" (always set your charset) You've Got MIME!

You've Got MIME!

An image here: arrow

---->8--cut-here-- Content-Type: image/gif; name="arrow.gif" (name is optional) Content-Disposition: inline; filename="arrow.gif" (can't remember if this header is needed or not) Content-ID: Content-Transfer-Encoding: base64 R0lGODdhKgAdAIAAAAAAAP///ywAAAAAKgAdAAACK4yPqcvtD6OctNqL s968+w+G4kiWBwCYCKqeqYLGItsmdI3n+s73/g8MYgoAOw== ---->8--cut-here---- This is the message epilogue. Non-MIME readers can see this, but they probably have given up by now. I just whipped that up by hand, so it might have a mistake or two in it. Important, though, are the URI format used in the tag, and the matching content-ID on the appropriate related part. Note that it is perfectly legit to do multipart/alternative with a plain text part and a multipart/related alternative. MIME allows plenty of recursion, just like RFC-822 (comments (allow (recusion))). Such nesting might be beyond the scope of a module named "Lite" however. Be nice to your readers and follow the guideline of sorting parts so the plainest stuff comes first. It irks me to get alternative messages with the html first and the plaintext last. Elijah From cajun at cajuninc.com Thu Jun 2 16:50:34 2005 From: cajun at cajuninc.com (M. Lewis) Date: Thu, 02 Jun 2005 18:50:34 -0500 Subject: [oak perl] MIME::Lite question In-Reply-To: <200506021816.j52IGR529608@panix2.panix.com> References: <200506021816.j52IGR529608@panix2.panix.com> Message-ID: <429F9B4A.3080702@cajuninc.com> Hi Eli. Thanks for the reply. I knew when I said the images did not appear, that it wasn't very clear. Allow me to try again. The HTML page was sent. Where the images were supposed to appear, there was a 'hole' the size of the image with a broken link icon in it. I have since solved this issue and will do a follow up to this list tonight. Thanks, Mike Eli the Bearded wrote: > Mike Lewis wrote: > >>The message is being sent as HTML, however the two images do not appear. >>I've tried adding other attachments for the two images, but that just >>makes them appear as attachments (duh..) rather than in the HTML >>document. >> >>Obviously I have missed the boat here somewhere. Suggestions welcome. > > > A mere "does not appear" doesn't really help. Are the images not in > the MIME output at all? Or is it that the HTML portion does not find > the images? > > I come from this as someone who has very little experience using MIME > generators (and none with MIME::Lite), but a fair amount of MIME > parsing experience. I don't know how to do what you want with that > module, and I don't know if there is a better one. I *do* know what > the MIME output should look like. > > Normal: mail > Headers: and such > MIME-Version: 1.0 (flag that this is a MIME message) > Content-Type: multipart/related (these things go together); > boundary="-->8--cut-here--" > > This is the message preamble. Only non-MIME readers get to see this. > > ---->8--cut-here-- > Content-Type: text/html; charset="us-ascii" (always set your charset) > > You've Got MIME! >

You've Got MIME!

>

An image here: > arrow >

> > > > ---->8--cut-here-- > Content-Type: image/gif; name="arrow.gif" (name is optional) > Content-Disposition: inline; filename="arrow.gif" (can't remember if > this header is needed or not) > Content-ID: > Content-Transfer-Encoding: base64 > > R0lGODdhKgAdAIAAAAAAAP///ywAAAAAKgAdAAACK4yPqcvtD6OctNqL > s968+w+G4kiWBwCYCKqeqYLGItsmdI3n+s73/g8MYgoAOw== > > ---->8--cut-here---- > > This is the message epilogue. Non-MIME readers can see this, but they > probably have given up by now. > > I just whipped that up by hand, so it might have a mistake or two in it. > Important, though, are the URI format used in the tag, and the > matching content-ID on the appropriate related part. > > Note that it is perfectly legit to do multipart/alternative with a > plain text part and a multipart/related alternative. MIME allows > plenty of recursion, just like RFC-822 (comments (allow (recusion))). > Such nesting might be beyond the scope of a module named "Lite" > however. Be nice to your readers and follow the guideline of sorting > parts so the plainest stuff comes first. It irks me to get alternative > messages with the html first and the plaintext last. > > Elijah > _______________________________________________ > Oakland mailing list > Oakland at pm.org > http://mail.pm.org/mailman/listinfo/oakland > -- IBM: It's Become Monolithic 18:48:01 up 8 days, 1:05, 6 users, load average: 0.43, 0.89, 1.15 Linux Registered User #241685 http://counter.li.org From alamozzz at yahoo.com Thu Jun 2 20:02:35 2005 From: alamozzz at yahoo.com (Adrien Lamothe) Date: Thu, 2 Jun 2005 20:02:35 -0700 (PDT) Subject: [oak perl] MIME::Lite question In-Reply-To: <429F9B4A.3080702@cajuninc.com> Message-ID: <20050603030235.21907.qmail@web31407.mail.mud.yahoo.com> It sounds like the problem is the html is referencing the images as local files, whereas the message recipients need a URL in the tag in order to see the images. So, instead of , you would want to use . Eli hints that there may be a way to cause the image to be embedded into the html, his code example uses . Is this true, Eli? The one time I helped send a mass advertising email (to interested customers,) I used an external URL reference to the images. - Adrien --- "M. Lewis" wrote: > Hi Eli. Thanks for the reply. > > I knew when I said the images did not appear, that > it wasn't very clear. > Allow me to try again. The HTML page was sent. Where > the images were > supposed to appear, there was a 'hole' the size of > the image with a > broken link icon in it. > > I have since solved this issue and will do a follow > up to this list tonight. > > Thanks, > Mike > > > Eli the Bearded wrote: > > Mike Lewis wrote: > > > >>The message is being sent as HTML, however the two > images do not appear. > >>I've tried adding other attachments for the two > images, but that just > >>makes them appear as attachments (duh..) rather > than in the HTML > >>document. > >> > >>Obviously I have missed the boat here somewhere. > Suggestions welcome. > > > > > > A mere "does not appear" doesn't really help. Are > the images not in > > the MIME output at all? Or is it that the HTML > portion does not find > > the images? > > > > I come from this as someone who has very little > experience using MIME > > generators (and none with MIME::Lite), but a fair > amount of MIME > > parsing experience. I don't know how to do what > you want with that > > module, and I don't know if there is a better one. > I *do* know what > > the MIME output should look like. > > > > Normal: mail > > Headers: and such > > MIME-Version: 1.0 (flag that this is a MIME > message) > > Content-Type: multipart/related (these things go > together); > > boundary="-->8--cut-here--" > > > > This is the message preamble. Only non-MIME > readers get to see this. > > > > ---->8--cut-here-- > > Content-Type: text/html; charset="us-ascii" > (always set your charset) > > > > You've Got > MIME! > >

You've Got MIME!

> >

An image here: > > arrow width=42 height=29 /> > >

> > > > > > > > ---->8--cut-here-- > > Content-Type: image/gif; name="arrow.gif" (name > is optional) > > Content-Disposition: inline; > filename="arrow.gif" (can't remember if > > this header is needed or not) > > Content-ID: > > Content-Transfer-Encoding: base64 > > > > > R0lGODdhKgAdAIAAAAAAAP///ywAAAAAKgAdAAACK4yPqcvtD6OctNqL > > s968+w+G4kiWBwCYCKqeqYLGItsmdI3n+s73/g8MYgoAOw== > > > > ---->8--cut-here---- > > > > This is the message epilogue. Non-MIME readers > can see this, but they > > probably have given up by now. > > > > I just whipped that up by hand, so it might have a > mistake or two in it. > > Important, though, are the URI format used in the > tag, and the > > matching content-ID on the appropriate related > part. > > > > Note that it is perfectly legit to do > multipart/alternative with a > > plain text part and a multipart/related > alternative. MIME allows > > plenty of recursion, just like RFC-822 (comments > (allow (recusion))). > > Such nesting might be beyond the scope of a module > named "Lite" > > however. Be nice to your readers and follow the > guideline of sorting > > parts so the plainest stuff comes first. It irks > me to get alternative > > messages with the html first and the plaintext > last. > > > > Elijah > > _______________________________________________ > > Oakland mailing list > > Oakland at pm.org > > http://mail.pm.org/mailman/listinfo/oakland > > > > -- > > IBM: It's Become Monolithic > 18:48:01 up 8 days, 1:05, 6 users, load > average: 0.43, 0.89, 1.15 > > Linux Registered User #241685 > http://counter.li.org > _______________________________________________ > Oakland mailing list > Oakland at pm.org > http://mail.pm.org/mailman/listinfo/oakland > Adrien Lamothe www.adriensweb.com __________________________________ Discover Yahoo! Have fun online with music videos, cool games, IM and more. Check it out! http://discover.yahoo.com/online.html From cajun at cajuninc.com Thu Jun 2 20:20:45 2005 From: cajun at cajuninc.com (M. Lewis) Date: Thu, 02 Jun 2005 22:20:45 -0500 Subject: [oak perl] MIME::Lite question (solved) In-Reply-To: <429E5FA5.3020400@cajuninc.com> References: <429E5FA5.3020400@cajuninc.com> Message-ID: <429FCC8D.5060808@cajuninc.com> Per the original posting, I was not able to get MIME::Lite to include the images in the HTML file. Not sure why this was. While searching Google, I learned there was a module MIME::Lite::HTML which is apparently made for almost just what I'm trying to accomplish. As I said in a previous posting, I initially tried the following code bits I was not able to get to work: my $msg = new MIME::Lite::HTML From => "$from", To => "$recipient", Subject => "$subject"; $msg = $msg->parse("$content"); $msg->send; In the documentation I was not able to find a way to use a $variable such as $content. It occured to me to plop the html on my server. The example in the docs was very clear about that: my $msg = new MIME::Lite::HTML From => "$from", To => "$recipient", Subject => "$subject"; $msg = $msg->parse('http://localhost/somehtmlfile.html'); $msg->send; This works fine. Well nearly. After finally figuring this out, I was again reminded that all mailers are not alike. In looking at the html page with Firefox, everything was fine, both the English and the Spanish versions. But when I mailed it and read it with Thunderbird, the accented Spanish characters do not come out right. If I mail the same file to a yahoo account, everything is fine. Right about now, I'm so sick of HTML.... I believe I'll have a beer. Thanks again to all for the suggestions / comments. Mike M. Lewis wrote: > I'm trying to use MIME::Lite to send out a mailing. The mailing is an > HTML document ($content) with two images in it. > > The message is being sent as HTML, however the two images do not appear. > I've tried adding other attachments for the two images, but that just > makes them appear as attachments (duh..) rather than in the HTML document. > > Obviously I have missed the boat here somewhere. Suggestions welcome. > > Thanks, > Mike > > > $msg = MIME::Lite->new( > From => "$from", > To => "$recipient", > Subject => "$subject", > Date => `date`, > Type => 'multipart/related', > ); > > $msg->attach(Type => 'text/html', > Path => "$content"); > -- IBM: Itty Bitty Machines 22:11:01 up 8 days, 4:28, 7 users, load average: 0.08, 0.06, 0.01 Linux Registered User #241685 http://counter.li.org From george at metaart.org Fri Jun 3 00:03:43 2005 From: george at metaart.org (George Woolley) Date: Fri, 3 Jun 2005 00:03:43 -0700 Subject: [oak perl] Fwd: Newsletter from O'Reilly UG Program, June 2 Message-ID: <200506030003.43469.george@metaart.org> ---------- Forwarded Message ---------- Subject: Newsletter from O'Reilly UG Program, June 2 Date: Thursday 02 June 2005 6:17 pm From: Marsee Henon ... ================================================================ O'Reilly News for User Group Members June 2, 2005 ================================================================ ---------------------------------------------------------------- Book News ---------------------------------------------------------------- -Essential Sharepoint -Killer Game Programming in Java -Classic Shell Scripting -Infosec Career Hacking -Learning Java, 3rd Edition -DHTML Utopia SSH, The Secure Shell: The Definitive Guide, 2nd Edition -Degunking Linux -Designing Embedded Hardware, 2nd Edition -Database in Depth -MySQL in a Nutshell -MAKE Subscriptions Available ---------------------------------------------------------------- Upcoming Events ---------------------------------------------------------------- -Adam Goldstein ("AppleScript: The Missing Manual"), SoHo Apple Store, New York, NY--June 3 -O'Reilly at Tech Ed 2005, Orlando, FL--Jun 5-10 -O'Reilly at Apple WWDC, San Francisco, CA--June 6-10 -Sinan Si Alhir ("UML in a Nutshell"), UML & Design World 2005, Austin, TX--June 13-16 -James Avery ("Visual Studio Hacks") Dayton .NET Developers, Fairborn, OH--July 25 ---------------------------------------------------------------- Conference News ---------------------------------------------------------------- -Registration is Open for the O'Reilly Open Source Convention, Portland, OR--August 1-5 -Where 2.0 Conference Registration Open, San Francisco, CA--June 29-30 ---------------------------------------------------------------- News ---------------------------------------------------------------- -"Cult of Mac" and "Degunking Windows" Win IPPY Awards -E3 2005: War of the Consoles...Almost -Mapping the 802.11 Protocol -Embedded-system Programmers Must Learn the Fundamentals -Rendering Everything as Text -A Simpler Ajax Path -Rexx: Power Through Simplicity -Learning Lab: Linux/Unix SysAdmin Certificate Special -An Introduction to Tiger Terminal -Japan Primer for the Mac Techno-Tourist -20 Cool Tiger Features You Might Not Have Heard About -Refactoring Support for Visual Basic 2005 -Ferreting Out Near-Identical Records in Access -Building Web Parts, Part 1 -Constructing Services with J2EE -Wire Hibernate Transactions in Spring -Look Ma--Hands! Choosing and Using MIDI Controllers -Steve Turnidge: Turning Weed into Green -Consumer Camera Time-Lapse Movies -DHTML Utopia: Modern Web Design -Search Engines Know More Than You Think -MAKE: Audio, Flickr, and del.icio.us ================================================ Book News ================================================ Did you know you can request a free book to review for your group? Ask your group leader for more information. For book review writing tips and suggestions, go to: http://ug.oreilly.com/bookreviews.html Don't forget, you can receive 20% off any O'Reilly, No Starch, Paraglyph, Pragmatic Bookshelf, SitePoint, or Syngress book you purchase directly from O'Reilly. Just use code DSUG when ordering online or by phone 800-998-9938. http://www.oreilly.com/ ***Free ground shipping is available for online orders of at least $29.95 that go to a single U.S. address. This offer applies to U.S. delivery addresses in the 50 states and Puerto Rico. For more details, go to: http://www.oreilly.com/news/freeshipping_0703.html ---------------------------------------------------------------- New Releases ---------------------------------------------------------------- ***Essential Sharepoint Publisher: O'Reilly ISBN: 0596008805 This comprehensive guide covers all the key topics for getting you started with Microsoft SharePoint. Learn everything there is to know about creating a team-oriented website: how to turn it on, set it up, and set your applications to work with it. Covering hosting choices, administration, customization, and more, it's ideal for anyone who wants to improve productivity through information sharing and document collaboration. http://www.oreilly.com/catalog/essentialsp/ Chapter 1, "Why Use SharePoint?" is available online: http://www.oreilly.com/catalog/essentialsp/ ***Killer Game Programming in Java Publisher: O'Reilly ISBN: 0596007302 This comprehensive guide has everything you need to program Java games. It offers the most thorough coverage of Java 3D available, and clearly details the older, better-known 2D APIs, 3D sprites, animated 3D sprites, first-person shooter programming, sound, fractals, and networked games. This practical book is a must-have for anyone who wants to create adrenaline-fueled games in Java. http://www.oreilly.com/catalog/killergame/ Chapter 22, "Flocking Boids," is available online: http://www.oreilly.com/catalog/killergame/chapter/index.html ***Classic Shell Scripting Publisher: O'Reilly ISBN: 0596005954 The ability to program and customize the shell quickly, reliably, and portably is important for anyone operating and maintaining Unix or Linux systems. This book gives you everything you need to master these essential skills. The authors provide the tips, tricks, and organized knowledge necessary to create excellent scripts, as well as warnings of the traps that can turn your best efforts into bad shell scripts. http://www.oreilly.com/catalog/shellsrptg/ Chapter 5, "Pipelines Can Do Amazing Things," is available online: http://www.oreilly.com/catalog/shellsrptg/chapter/index.html ***Infosec Career Hacking Publisher: Syngress ISBN: 1597490113 Do you code for the sheer joy and challenge? If you want to refine your skills and learn new ones to build an InfoSec career, this book is for you. The authors have all applied their inherent hacker skills to build successful InfoSec careers. From them, you will learn about the variety of available jobs and the skills required to excel in each one. http://www.oreilly.com/catalog/1597490113/ ***Learning Java, 3rd Edition Publisher: O'Reilly ISBN: 0596008732 This bestselling hands-on tutorial delivers a no-nonsense approach to Java 5.0 features, such as "generics," loops, and threads. It addresses all of the important uses of Java, such as web applications, servlets, and XML, that are increasingly driving enterprise applications. The accompanying CD includes the Java 5.0 SDK for Windows, Linux, and Solaris, plus the Eclipse IDE, the NetBeans IDE, and the many example programs from the book. http://www.oreilly.com/catalog/learnjava3/ Chapter 8, "Generics," is available online: http://www.oreilly.com/catalog/learnjava3/chapter/index.html ***DHTML Utopia Publisher: SitePoint ISBN: 0957921896 "DHTML Utopia" is a unique book about using JavaScript, HTML, and CSS together to create extremely usable, standards compliant and modern websites as well as updating your current designs to enhance the user experience. http://www.oreilly.com/catalog/0957921896/index.html ***SSH, The Secure Shell: The Definitive Guide, 2nd Edition Publisher: O'Reilly ISBN: 0596008953 Written for a wide, technical audience, this book covers several implementations of SSH for different operating systems and computing environments. Whether you're an individual running your home system or a corporate network administrator with thousands of users, our indispensable guide has you covered. It starts with simple installation and use of SSH, and works its way to in-depth case studies on large, sensitive computer networks. http://www.oreilly.com/catalog/sshtdg2/ Chapter 8, "Per-Account Server Configuration," is available online: http://www.oreilly.com/catalog/sshtdg2/chapter/index.html ***Degunking Linux Publisher: Paraglyph ISBN: 1933097043 This book will help users get their Linux configurations working efficiently by providing them with a proven and time-saving 12-step program to get rid of clutter and organize everything from user files to system upgrades. This is the only book that is completely focused on helping Linux users learn the causes of sluggish performance and how to apply smart solutions to improve overall system performance. http://www.oreilly.com/catalog/1933097043/ ***Designing Embedded Hardware, 2nd Edition Publisher: O'Reilly ISBN: 0596007558 This book steers a course between books dedicated to writing code for particular microprocessors and those that stress the philosophy of embedded system design without providing any practical information. Loaded with real examples, it also provides a roadmap of the pitfalls and traps to avoid. If you want to build your own embedded system, or tweak an existing one, this invaluable book gives you the understanding and practical skills you need. http://www.oreilly.com/catalog/dbhardware2/ Chapter 6, "Building Hardware," is available online: http://www.oreilly.com/catalog/dbhardware2/chapter/index.html ***Database in Depth Publisher: O'Reilly ISBN: 0596100124 This concise guide sheds light on the principles behind the relational model, giving you an unbiased view that's not influenced by any vendor or product. Featuring an extensive set of exercises, this book is ideal not only for database developers and designers, but also for a diverse field of professionals and academics, including database administrators, information modelers, database consultants, and more. http://www.oreilly.com/catalog/databaseid/ Chapter 1, "Introduction," is available online: http://www.oreilly.com/catalog/databaseid/chapter/index.html ***MySQL in a Nutshell Publisher: O'Reilly ISBN: 0596007892 This book clearly documents every detail you need to master MySQL. In addition to providing a thorough reference to MySQL statements and functions, the administrative utilities, and the most popular APIs, this book even includes several tutorial chapters to help newcomers get started. This wealth of information is conveniently packed into a concise, comprehensive, and easy-to-use format. http://www.oreilly.com/catalog/mysqlian/ Chapter 6, "Date and Time Functions," is available online: http://www.oreilly.com/catalog/mysqlian/chapter/index.html ***MAKE Magazine Subscriptions Available The annual subscription price for four issues is $34.95. When you subscribe with this link, you'll get a free issue--the first one plus four more for $34.95. So subscribe for yourself or friends with this great offer for charter subscribers: five volumes for the cost of four. Subscribe at: https://www.pubservice.com/MK/Subnew.aspx?PC=MK&PK=M5ZUGLA ================================================ Upcoming Events ================================================ ***For more events, please see: http://events.oreilly.com/ ***Adam Goldstein ("AppleScript: The Missing Manual"), SoHo Apple Store, New York, NY--June 3 Author Adam is a featured speaker at the SoHo Apple Store from 7:00-9:00pm. http://www.apple.com/retail/soho/week/20050320.html ***O'Reilly at Tech Ed 2005, Orlando, FL--Jun 5-10 Stop by our booth (#1046/1048), check out our new titles, and say hi to our authors while you attend Tech Ed. Some of latest books include ".NET Gotchas" and "Visual Studio Hacks." http://www.microsoft.com/events/teched2005/default.mspx ***O'Reilly at Apple WWDC, San Francisco, CA--June 6-10 On Tuesday, June 7, grab a tasty bag lunch and spend your lunchtime with founder and CEO of O???Reilly Media, Tim O???Reilly. Tim will talk about the innovations that are on his radar, and how Mac developers can begin distributing the future today. http://developer.apple.com/wwdc/ ***Sinan Si Alhir ("UML in a Nutshell"), UML & Design World 2005, Austin, TX--June 13-16 Author Sinan Si Alhir leads two sessions at this event: "Enterprise Business Modeling" and "The Agile Unified Process (AUP)." http://www.cmpevents.com/SDUM5/a.asp?option=G&V=3&id=84520 ***James Avery ("Visual Studio Hacks") Dayton .NET Developers, Fairborn, OH--July 25 Author James discusses getting the most out of Visual Studio's Integrated Development Environment with his talk titled "Pimp your IDE." James is the founder of the Cincinnati .NET Users Group and is the founder and president of InfoZerk, a software consulting company. http://www.daytondevgroup.net/schedule.htm ================================================ Conference News ================================================ ***Registration is Open for the O'Reilly Open Source Convention, Portland, OR--August 1-5 OSCON 2005 explores three deep trends affecting open source: the commoditization of software, network-enabled collaboration, and software customizability. Join us at this essential gathering of open source leaders and practitioners of every persuasion to exchange ideas and push the boundaries of vital open source technologies. This year, we introduce the Open Source Business Review, along with a host of other exciting presentations and events. http://conferences.oreilly.com/oscon/ User Group members who register before June 20, 2005 get a double discount. Use code "os05grpusr" when you register, and receive 15% off the early registration price. To register for the conference, go to: http://conferences.oreillynet.com/cs/os2005/create/ord_os05 ***Where 2.0 Conference Registration Open, San Francisco, CA--June 29-30 Join us at the first O???Reilly Where 2.0 Conference. Location-based services and mapping are becoming mainstream technologies. Meanwhile, innovative new software makes it possible to apply the wealth of new data to old business problems. Come explore the emerging consumer and enterprise ecosystems around location-aware technologies that increasingly impact the way we work and play. http://conferences.oreilly.com/where/ Use code "whereug" when you register, and receive 15% off the registration price. To register for the conference, go to: http://conferences.oreillynet.com/cs/where2005/create/ord_where ================================================ News From O'Reilly & Beyond ================================================ --------------------- General News --------------------- ***"Cult of Mac" and "Degunking Windows" Win IPPY Awards Congratulation to No Starch Press and Paraglyph Press for winning the 2005 Independent Publisher Book Awards. No Starch's "The Cult of Mac" by Leander Kahney won for Most Unique Design and Paraglyph Press's "Degunking Windows" won in the Computer/Internet category. http://www.independentpublisher.com/ ***E3 2005: War of the Consoles...Almost E3 is the world's largest video game trade show, which means a lot of networking and deal brokering. However, E3 is also the first chance for the average gamer to get a sneak peek at the video games in development. In a hardcore gamer's world, the flashy and elaborate E3 exhibits are like Christmas morning--only in May. Stephen Cawood offers this report on E3 2005. http://www.oreillynet.com/pub/a/network/2005/05/23/E3expo.html ***Mapping the 802.11 Protocol A trip to London and a bit of unique inspiration gave Matthew Gast the ideas that would lead to the first draft of a visual map describing the relationship between the various components of the 802.11 standard and related security standards. Matthew details the road he took to the final version of his 802.11 protocol map. Matthew is the author of "802.11: The Definitive Guide, 2nd Edition." http://www.oreillynet.com/pub/a/wireless/2005/05/20/80211map.html ***Embedded-system Programmers Must Learn the Fundamentals No Starch's Randy Hyde's article in the new issue of "EDN Magazine." Randy is the author of "Write Great Code" and "The Art of Assembly Language." http://www.edn.com/article/CA601846.html --------------------- Open Source --------------------- ***Rendering Everything as Text Ah, the days of plain-text everything are long gone, what with media files (hooray!) and encumbered binary blobs (boo!). Is the solution to give up your comfortable, efficient, and effective text-based tools? No way. Philip Hollenback proposes that you can render any data format to meaningful text for mail reading, indexing, and more. Here's how. http://www.linuxdevcenter.com/pub/a/linux/2005/05/26/textonly.html ***A Simpler Ajax Path After years of hacks, tricks, and workarounds, there's finally a cross-browser, cross-platform way to communicate between client and server in web applications. Matthew Eernisse demonstrates how to send and receive structured data with XMLHttpRequest and shows off some tricks to make debugging and error handling easier. http://www.onjava.com/pub/a/onjava/2005/05/18/swingxactions.html ***Rexx: Power Through Simplicity The P-languages get most of the press these days, but they're not the only dynamic languages in the world. Arguably, Rexx is the grandfather of them all. It's received little attention in the open source world, despite several good open source implementations. Howard Fosdick shows off some of the features of the language with practical examples. http://www.onlamp.com/pub/a/onlamp/2005/05/26/rexx.html ***Learning Lab: Linux/Unix SysAdmin Certificate Special Learn system administration skills online and receive certification from the University of Illinois Office of Continuing Education. Courses include: The Unix File System, Networking and DNS, Unix Services (including email and web servers), and Scripting for Administrators with Sed, Awk, and Perl. It's all at the O'Reilly Learning Lab. Enroll and save 40%. http://www.oreilly.com/redirector.csp?link=UASys&type=news --------------------- Mac --------------------- ***An Introduction to Tiger Terminal Now that you've had a chance to enjoy all of the GUI goodies in Mac OS X 10.4, you might be ready to check out what's happening with the Terminal app. This article will introduce you to Tiger's Terminal app and CLI (command-line interface). http://www.macdevcenter.com/pub/a/mac/2005/05/20/terminal1.html ***Japan Primer for the Mac Techno-Tourist Many of us believe that Japan is the land of geek nirvana. If you're contemplating a visit to the gadget promise land, you'll enjoy Todd Ogasawara's report on everything from cell phone coverage to buying Mac accessories. http://www.macdevcenter.com/pub/a/mac/2005/05/27/japan.html ***20 Cool Tiger Features You Might Not Have Heard About Even though Tiger has been out for a while now, many of its major features have nuances that haven't received much press--and there are a zillion minor tweaks to discuss. Scott Knaster takes you on a tour of clever, and sometimes even obscure Tiger goodies. http://www.macdevcenter.com/pub/a/mac/2005/05/13/tiger_tips.html --------------------- Windows/.NET --------------------- ***Refactoring Support for Visual Basic 2005 Microsoft recently announced that they have teamed up with Developer Express Inc. to release Refactor! for Visual Basic 2005 Beta 2, a free plugin for Visual Studio that enables Visual Basic developers to simplify and restructure source code inside of Visual Studio 2005. Wei-Meng Lee walks you through the new refactoring. http://www.ondotnet.com/pub/a/dotnet/2005/05/31/vbrefactoring.html ***Ferreting Out Near-Identical Records in Access Working with lists of contacts is a common database activity, but as a list grows, so do the chances for duplicate records. Ken Bluttman shows one technique for ferreting out these near-identical records in Access using the InStr function to find when one value in one field is inside the value of the same field in another record. Ken is the author of "Access Hacks." http://www.windowsdevcenter.com/pub/a/windows/2005/05/24/accesshacks.html ***Building Web Parts, Part 1 Web sites today contain a wealth of information; so much that a poorly designed site can easily overwhelm users. To better help users cope, portal web sites today (such as MSN) often organize their data into discrete units that support a degree of personalization. In this first of three articles, Wei-Meng Lee discusses how to use Web Parts for user customization in your ASP.NET 2.0 web sites. http://www.ondotnet.com/pub/a/dotnet/2005/05/23/webparts_1.html --------------------- Java --------------------- ***Constructing Services with J2EE Web services are a popular means of deploying service-oriented applications, and the standards in J2EE 1.4 make it easier to develop services that are portable and interoperable. Debu Panda shows you how, and takes a look at how things will get easier in J2EE 5.0. http://www.onjava.com/pub/a/onjava/2005/05/25/j2ee-services.html ***Wire Hibernate Transactions in Spring The proper handling of transactions across multiple data stores, supporting multiple application flows, is the kind of heavy lifting J2EE servers were built for. But what if you're using the lighter-weight Spring framework? Binildas C.A. shows how you can wire Spring and Hibernate together to achieve the transaction support you desire. http://www.onjava.com/pub/a/onjava/2005/05/18/swingxactions.html --------------------- Digital Media --------------------- ***Look Ma--Hands! Choosing and Using MIDI Controllers If you really want to play today's wonderful software instruments, drop that mouse and grab a dedicated MIDI controller. In this MP3-enhanced tutorial, you'll hear the dramatic difference controllers make in musical expressivity, then get buying and usage tips. http://digitalmedia.oreilly.com/2005/06/01/controller1.html ***Steve Turnidge: Turning Weed into Green Go behind the scenes with the co-founder of Weedshare.com, the service that pays you--and the original artist--to share music. Driven by ex-Microsoft and Real Networks employees, Weed is totally legal, and even supports surround sound. http://digitalmedia.oreilly.com/2005/05/25/weed.html ***Consumer Camera Time-Lapse Movies Pocket digicams are great for still photos, and some of them even record quality video. But you can push the envelope even further with these devices. Here's how two photo novices created their first time-lapse production. http://digitalmedia.oreilly.com/2005/05/18/timelapse.html --------------------- Web --------------------- ***DHTML Utopia: Modern Web Design What do Flickr, Google Suggest, Google Maps, and GMail have in common? They all employ some of the latest methods in modern, unobtrusive DHTML. http://www.sitepoint.com/article/dhtml-utopia-modern-web-design ***Search Engines Know More Than You Think Learn how Google's personalized web search and Yahoo's Mindset work and how they take searching to a whole new level. http://www.sitepoint.com/blog-post-view.php?id=268282 --------------------- MAKE --------------------- ***MAKE: Audio The MAKE Team thought it would be fun to talk with pal Richard Giles in Australia. They chatted about MAKE Volume 02, E3, Astromechs, VoIP for the Nintendo DS, NASA's O2 challenge, the XBOX 360, Broadcast Flag part 2, and more. Next up, they interview Jordan Kanarek and Jim Garretson from roadcasting.org. What's roadcasting? Interactive, collaborative, mobile radio stations for cars. It could be a glimpse of what's to come for our daily commutes! http://www.makezine.com/blog/archive/make_podcast/ ***MAKE Flickr Join the MAKE Flickr photo pool today. You never know what you'll see or what we'll be giving away next! Where else can you see a potato cannon in action? http://www.flickr.com/groups/make/pool/ ***MAKE del.icio.us On the MAKE bookmark page, there are over 1,500 links to hacks, mods, DIY projects, and all-around tinkering goodness. Be a MAKE voyeur and read what we're reading. http://del.icio.us/makemagazine This week's faves include: Artificial Intelligence: A Modern Approach http://aima.cs.berkeley.edu/ Abusing Amazon Images http://aaugh.com/imageabuse.html WSJ on Gaming http://www.oreilly.com/go/wsj_on_gaming How to Stock Your Bar for a Party http://www.degraeve.com/howto/stock-your-bar.php ***The MAKE blog is available at: http://www.makezine.com/blog/ ================================================ From Your Peers =============================================== ***Don't forget to check out the O'Reilly UG wiki to see what user groups around the globe are up to: http://wiki.oreillynet.com/usergroups/index.cgi Until next time-- Marsee Henon ================================================================ O'Reilly 1005 Gravenstein Highway North Sebastopol, CA 95472 http://ug.oreilly.com/ http://www.oreilly.com ================================================================ ------------------------------------------------------- From oaklandpm at eli.users.panix.com Fri Jun 3 14:41:23 2005 From: oaklandpm at eli.users.panix.com (Elijah Griffin) Date: Fri, 3 Jun 2005 17:41:23 -0400 (EDT) Subject: [oak perl] MIME::Lite question In-Reply-To: <20050603030235.21907.qmail@web31407.mail.mud.yahoo.com> Message-ID: <200506032141.j53LfNe14989@panix2.panix.com> Adrien Lamothe asks: > Eli hints that there may be a way to cause the image > to be embedded into the html, his code example uses > . Is this true, > Eli? The one time I helped send a mass advertising > email (to interested customers,) I used an external > URL reference to the images. That is a common way to do it, and it might be because it works in more mail readers. I really don't know, I don't write MIME generators and don't worry about what is actually out there. I do know that is how it is *supposed* to work. The RFC documenting this feature includes a very similar example: http://www.faqs.org/rfcs/rfc2392.html But mine is a complete image in two lines of base64, while that one is a mere fragment. Elijah From george at metaart.org Fri Jun 3 19:49:46 2005 From: george at metaart.org (George Woolley) Date: Fri, 3 Jun 2005 19:49:46 -0700 Subject: [oak perl] What Book? In-Reply-To: <55adb31905050208407c43cf60@mail.gmail.com> References: <55adb31905050208407c43cf60@mail.gmail.com> Message-ID: <200506031949.46389.george@metaart.org> I put a banner up on our site for the Open Source Convention in Portland in August. For this our group gets a free O'Reilly book which will be given away, quite possibly at the June (11th) meeting. Does anyone have suggestions for what book to get? From george at metaart.org Fri Jun 3 21:40:29 2005 From: george at metaart.org (George Woolley) Date: Fri, 3 Jun 2005 21:40:29 -0700 Subject: [oak perl] June Oakland.pm Meeting Message-ID: <200506032140.29169.george@metaart.org> If you haven't adjusted to the change in time and place, please note * the location: Grand Lake Neighborhood Center * the time: 1-3pm * the date: June 11th (2nd Saturday} ======================== cut and paste from the Oakland.pm website ======================== Next meeting * when: 1-3pm, Saturday, June 11th * where: Grand Lake Neighborhood Center 530 Lake Park Ave., Oakland CA * directions: [link to] directions and ascii map * topic: no fixed topic (but Perl related) * activities: o introductions o giveaways o lightning talks, discussion o ... * who: open to anyone interested. * how much: no fee for our meetings. However, the neighborhood center would appreciate (but does not require) a donation of $1 per person for the use of their space. * RSVP: is a big help to me but is not required. From george at metaart.org Mon Jun 6 17:14:35 2005 From: george at metaart.org (George Woolley) Date: Mon, 6 Jun 2005 17:14:35 -0700 Subject: [oak perl] What Book? In-Reply-To: <200506031949.46389.george@metaart.org> References: <55adb31905050208407c43cf60@mail.gmail.com> <200506031949.46389.george@metaart.org> Message-ID: <200506061714.35181.george@metaart.org> Hm, no response so far. Maybe if I specify a default book and specify a time limit, someone will speak up. Default Book: Classic Shell Scripting Hidden Commands that Unlock the Power of Unix By Arnold Robbins, Nelson H.F. Beebe First Edition May 2005 ISBN: 0-596-00595-4 Time Limit: If you have a suggestion, speak up before Saturday. Suggestions? On Friday 03 June 2005 7:49 pm, George Woolley wrote: > I put a banner up on our site > for the Open Source Convention > in Portland in August. > For this our group gets a free O'Reilly book > which will be given away, > quite possibly at the June (11th) meeting. > > Does anyone have suggestions > for what book to get? > > > _______________________________________________ > Oakland mailing list > Oakland at pm.org > http://mail.pm.org/mailman/listinfo/oakland From george at metaart.org Mon Jun 6 17:24:23 2005 From: george at metaart.org (George Woolley) Date: Mon, 6 Jun 2005 17:24:23 -0700 Subject: [oak perl] Giveaways Message-ID: <200506061724.23213.george@metaart.org> If you have something you'd feel comfortable including in the Giveaway, bring it along. G P.S. The June meeting is Saturday 1-3pm. From mark at bincomputing.com Mon Jun 6 17:38:32 2005 From: mark at bincomputing.com (Mark Bole) Date: Mon, 06 Jun 2005 17:38:32 -0700 Subject: [oak perl] What Book? In-Reply-To: <200506061714.35181.george@metaart.org> References: <55adb31905050208407c43cf60@mail.gmail.com> <200506031949.46389.george@metaart.org> <200506061714.35181.george@metaart.org> Message-ID: <42A4EC88.2020207@bincomputing.com> (I can dream, can't I?) Perl 6 and Parrot Essentials, Second Edition By Allison Randal , Dan Sugalski , Leopold T?tsch Second Edition June 2004 ISBN: 0-596-00737-X 304 pages, $29.95 US, $43.95 CA, ?20.95 UK Perl Cookbook, Second Edition By Tom Christiansen , Nathan Torkington Second Edition August 2003 Series: Cookbooks ISBN: 0-596-00313-7 976 pages, $49.95 US, $77.95 CA, ?35.50 UK George Woolley wrote: >Hm, no response so far. >Maybe if I specify a default book >and specify a time limit, >someone will speak up. > >[...] > >On Friday 03 June 2005 7:49 pm, George Woolley wrote: > > >>I put a banner up on our site >>for the Open Source Convention >>in Portland in August. >>For this our group gets a free O'Reilly book >>which will be given away, >>quite possibly at the June (11th) meeting. >> >>Does anyone have suggestions >>for what book to get? >> >> >> >> -- Mark Bole http://www.bincomputing.com 925-287-0366 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/oakland/attachments/20050607/9ff0ac2d/attachment.html From george at metaart.org Mon Jun 6 17:48:49 2005 From: george at metaart.org (George Woolley) Date: Mon, 6 Jun 2005 17:48:49 -0700 Subject: [oak perl] What Book? In-Reply-To: <42A4EC88.2020207@bincomputing.com> References: <55adb31905050208407c43cf60@mail.gmail.com> <200506061714.35181.george@metaart.org> <42A4EC88.2020207@bincomputing.com> Message-ID: <200506061748.49876.george@metaart.org> Thanks. Those seem like excellent suggestions to me. Anyone else have a suggestion? G On Monday 06 June 2005 5:38 pm, Mark Bole wrote: > (I can dream, can't I?) > > Perl 6 and Parrot Essentials, Second Edition > By Allison Randal > , Dan Sugalski > , Leopold T?tsch > > Second Edition June 2004 > ISBN: 0-596-00737-X > 304 pages, $29.95 US, $43.95 CA, ?20.95 UK > > > Perl Cookbook, Second Edition > By Tom Christiansen > , > Nathan Torkington > Second Edition August 2003 > Series: Cookbooks > ISBN: 0-596-00313-7 > 976 pages, $49.95 US, $77.95 CA, ?35.50 UK > > George Woolley wrote: > >Hm, no response so far. > >Maybe if I specify a default book > >and specify a time limit, > >someone will speak up. > > > >[...] > > > >On Friday 03 June 2005 7:49 pm, George Woolley wrote: > >>I put a banner up on our site > >>for the Open Source Convention > >>in Portland in August. > >>For this our group gets a free O'Reilly book > >>which will be given away, > >>quite possibly at the June (11th) meeting. > >> > >>Does anyone have suggestions > >>for what book to get? From george at metaart.org Wed Jun 8 11:09:27 2005 From: george at metaart.org (George Woolley) Date: Wed, 8 Jun 2005 11:09:27 -0700 Subject: [oak perl] Lightning Talk? Message-ID: <200506081109.27488.george@metaart.org> OK, at the May meeting we decided the content of the June meeting would be Perl related lightning talks. Some people have offered to give lightning talks but we could definitely use more. If you know you are up for giving a lightning talk ahead of time, let me know. That would really help. See notes below my "signature" for more on "lightning talks", if you wish. George Some Notes on Lightning Talks ========================== * max: 5 minutes * min: as short as you wish * audience involvement: speaker may choose e.g. no heckling * also see: http://www.metaart.org/maca/perl/lightning/lightning_what.html (written specifically for Oakland.pm) * possible Google search: Perl lightning talk (for more on lightning talks than you'll ever want to know) From george at metaart.org Wed Jun 8 11:28:09 2005 From: george at metaart.org (George Woolley) Date: Wed, 8 Jun 2005 11:28:09 -0700 Subject: [oak perl] What Book? In-Reply-To: <200506061748.49876.george@metaart.org> References: <55adb31905050208407c43cf60@mail.gmail.com> <42A4EC88.2020207@bincomputing.com> <200506061748.49876.george@metaart.org> Message-ID: <200506081128.09136.george@metaart.org> OK, based on Mark Bole's post, the default book for me to request is: Perl 6 and Parrot Essentials, Second Edition By Allison Randal, Dan Sugalski, Leopold T?tsch Second Edition June 2004 ISBN: 0-596-00737-X 304 pages, $29.95 US, $43.95 CA, ?20.95 UK More suggestions? From mark at bincomputing.com Wed Jun 8 17:31:00 2005 From: mark at bincomputing.com (Mark Bole) Date: Wed, 08 Jun 2005 17:31:00 -0700 Subject: [oak perl] Question: Scalar::Util::dualvar usage in general Message-ID: <42A78DC4.4020509@bincomputing.com> I've made a brief attempt to understand this item, after stumbling across it while looking up something else -- a typical short story of my professional life, I guess! ;-) How is the Scalar::Util::dualvar subroutine implemented? Yes, I've looked at the C source code in the ext/List/Util/Util.xs file... but as soon as I saw variables with the string "magic" embedded in the name, I gave up. The closest real-life example seems to be Perl built-in errors, in other words, using errno=2 as an example, % perl -de 0 Loading DB routines from perl5db.pl version 1.19 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. main::(-e:1): 0 DB<1> $! = 2; DB<2> print $!; No such file or directory DB<3> print $!+0; 2 DB<4> print 'No such file or directory' + 0 0 As a database-oriented person, I'm wondering if there are any other real-life examples for using this capability -- overloading a variable with both string and numeric datatypes... Is there any situation where casting a scalar as "dualvar" would be preferable to simply creating a hash, with numbers as keys and corresponding strings as values? -- Mark Bole http://www.bincomputing.com 925-287-0366 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/oakland/attachments/20050609/2b5e5041/attachment.html From george at metaart.org Fri Jun 10 16:57:06 2005 From: george at metaart.org (George Woolley) Date: Fri, 10 Jun 2005 16:57:06 -0700 Subject: [oak perl] June Meeting: 1pm-3pm on Sat. June 11 Message-ID: <200506101657.06298.george@metaart.org> I'm looking forward to seeing some of you at the meeting tomorrow. Next meeting * when: 1-3pm, Saturday, June 11th * where: Grand Lake Neighborhood Center 530 Lake Park Ave., Oakland CA * directions: [link to] directions and ascii map * topic: no fixed topic (but Perl related) * activities: o introductions o giveaways o lightning talks, discussion o ... * who: open to anyone interested. * how much: no fee for our meetings. However, the neighborhood center would appreciate (but does not require) a donation of $1 per person for the use of their space. * RSVP: is a big help to me but is not required. From george at metaart.org Sat Jun 11 08:28:56 2005 From: george at metaart.org (George Woolley) Date: Sat, 11 Jun 2005 08:28:56 -0700 Subject: [oak perl] What Book? In-Reply-To: <200506081128.09136.george@metaart.org> References: <55adb31905050208407c43cf60@mail.gmail.com> <200506061748.49876.george@metaart.org> <200506081128.09136.george@metaart.org> Message-ID: <200506110828.56320.george@metaart.org> OK, I requested that Marsee send us Perl 6 and Parrot Essentials, Second Edition for putting up the banner. That seems very appropriate as the topic for our July meeting is Perl 6. On Wednesday 08 June 2005 11:28 am, George Woolley wrote: > OK, based on Mark Bole's post, > the default book for me to request is: > Perl 6 and Parrot Essentials, Second Edition > By Allison Randal, Dan Sugalski, Leopold T?tsch > Second Edition June 2004 > ISBN: 0-596-00737-X > 304 pages, $29.95 US, $43.95 CA, ?20.95 UK ... From george at metaart.org Sat Jun 11 17:00:18 2005 From: george at metaart.org (George Woolley) Date: Sat, 11 Jun 2005 17:00:18 -0700 Subject: [oak perl] PHP? Message-ID: <200506111700.18704.george@metaart.org> At the June meeting I gave a lightning talk based on my very limited experience with PHP. I have two questions re PHP: (1) Are you interested enough in PHP that you'd likely come to a meeting if that were the topic? <<<<<< If so, let me know on or off list. Perhaps we'll have PHP as the topic for a meeting. (2) Do you have a recommendation for a book (or some such) for learning PHP 5? <<<<<< George From george at metaart.org Sat Jun 11 17:52:31 2005 From: george at metaart.org (George Woolley) Date: Sat, 11 Jun 2005 17:52:31 -0700 Subject: [oak perl] PHP on Parrot? Message-ID: <200506111752.31118.george@metaart.org> Reference: Teaching Parrot to Say "PHP" http://entwickler.com/itr/online_artikel/psecom,id,729,nodeid,114.html I've been playing with PHP lately on two different fronts. And the topic of our next meeting is Perl 6. Moreover, down the road we may have a meeting with PHP as the topic. I got a Google Alert about the article. referenced above. I found it interesting. You may too. George From david at fetter.org Sun Jun 12 12:57:47 2005 From: david at fetter.org (David Fetter) Date: Sun, 12 Jun 2005 12:57:47 -0700 Subject: [oak perl] XML <-> SQL with Chris Mungall Message-ID: <20050612195747.GG20424@fetter.org> Perpetual Entertainment is proud to host the SF Perl Users' Group. http://sf.pm.org/weblog/archives/00000027.html This month, Chris Mungall, author of such modules as Data-Stag, will give a talk on XML <-> SQL Mapping Tools. If you plan to attend, RSVP ASAP to dfetter at perpetual.com because 1. Security will need your name in order to let you in. 2. I need to know how much pizza to order. 3. It's nice to be considerate and help with capacity planning. Date: Tuesday, June 28th Time: 8:00pm Place: Perpetual Entertainment 149 New Montgomery Street 5th Floor San Francisco Parking in downtown San Francisco around 8:00pm is doable, but leave yourself some time. You're probably best off arriving via BART to Montgomery station. Caltrain is not recommended, as they have two trains running south between 10:00 and midnight. Cheers, D -- David Fetter david at fetter.org http://fetter.org/ phone: +1 510 893 6100 mobile: +1 415 235 3778 Remember to vote! From george at metaart.org Mon Jun 13 00:30:39 2005 From: george at metaart.org (George Woolley) Date: Mon, 13 Jun 2005 00:30:39 -0700 Subject: [oak perl] Review of "Programming PHP" Message-ID: <200506130030.39199.george@metaart.org> There's a draft of a review of Programming PHP By Rasmus Lerdorf, Kevin Tatroe First Edition March 2002 ISBN: 1-56592-610-2 528 pages, $39.95 US, $61.95 CA, ?28.50 UK on our site at http://www.metaart.org/opug/reviews/progphp.html should you wish to look at it. Comment, corrections, etc. would be appreciated. George From george at metaart.org Wed Jun 15 19:33:40 2005 From: george at metaart.org (George Woolley) Date: Wed, 15 Jun 2005 19:33:40 -0700 Subject: [oak perl] Evolving Notes on Perl 6 Variables Message-ID: <200506151933.40581.george@metaart.org> The topic for the July meeting is Perl 6. I've started making notes for a short talk on Perl 6 Variables. As an experiment, I'm making the notes on a wiki (however, only I can change it). The wiki is at http://camelot.schtuff.com/gw_notes_for_200507_meeting in case you are interested in the notes or the wiki. In case you are looking for a good place for a wiki. You could start your search with http://c2.com/cgi/wiki?WikiFarms That's what I did. George P.S. The wiki on c2.com is the most useful and also the most fascinating wiki that I've encountered. From jideoforkc at yahoo.com Thu Jun 16 02:37:03 2005 From: jideoforkc at yahoo.com (kenneth Jideofor) Date: Thu, 16 Jun 2005 02:37:03 -0700 (PDT) Subject: [oak perl] Perl Script Message-ID: <20050616093703.245.qmail@web31106.mail.mud.yahoo.com> Hi George, Good reading from you. It's my pleasure having my name in your mailing list. I believe this is a very good opportunity for me to develop my self on Perl. I look forward to getting what it takes to become a Perl guru from the group. Meanwhile, I have this task to perform and I believe Perl will offer me a better solution to accomplishing it. I have tried doing it with an awk script but I couldn't get exactly what I wanted. I need an assistance on how to go about it with Perl script. I have a file (FILE1)made up of two columns of data. Column 1 contains numbers while Column 2 contains letters. FILE1 is as shown below: FILE1: __________________ 7240185 A B C 7240943 C 7240207 A B 7240194 B C 7240190 A B C ____________________ I need to produce two files (FILE2 and FILE3)from FILE1 based on the following conditions: Each number in Column 1 is expected to have corresponding letters A, B, and C in Column 2. I need to print out to FILE2 all the numbers that do not have their corresponding letters A, B, and C, while those that have their corresponding letters A, B, and C should be saved in FILE3. >From FILE1, the following numbers do not have their corresponding letters A, B, and C: 7240943 7240207 7240194 while the following numbers have their corresponding letters A, B, and C 7240185 7240190 Hence, FILE2 should contain the following numbers: 7240943 7240207 7240194 while FILE3 should contain the following numbers: 7240185 7240190 Could anyone, please, assist me with a Perl solution to perform this task? Thanks. Best regards, Ken __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From mp at rawbw.com Thu Jun 16 08:19:46 2005 From: mp at rawbw.com (Michael Paoli) Date: Thu, 16 Jun 2005 08:19:46 -0700 Subject: [oak perl] Opportunity: (mostly?) Minneapolis, MN; hands-on hardware, Solaris/HP-UX/Red Hat/SuSE Message-ID: <1118935186.42b1989205ec6@webmail.rawbw.com> Okay, ... so it's almost certainly not Oakland or Bay Area, but it's at least got LINUX and Perl, so, ... if you may be interested, or may know someone who is ... anyway, details may be seen at either of these URLs: http://listserver.dreamhost.com/pipermail/balug-talk-balug.org/2005-June/003338.html http://www.weak.org/pipermail/buug/2005-June/002740.html From kester at gmail.com Thu Jun 16 08:55:28 2005 From: kester at gmail.com (Kester Allen) Date: Thu, 16 Jun 2005 08:55:28 -0700 Subject: [oak perl] Perl Script In-Reply-To: <20050616093703.245.qmail@web31106.mail.mud.yahoo.com> References: <20050616093703.245.qmail@web31106.mail.mud.yahoo.com> Message-ID: <55adb3190506160855c9ecc07@mail.gmail.com> Hi Ken-- Here's a quick cut at your problem. The technique I used is to build up a hash, using the numbers as the keys and an array of the numbers as the values, so it'll end up looking something like this: %hash = ( '7240185' => [ 'A', 'B', 'C' ], '7240194' => [ 'B', 'C' ], '7240190' => [ 'A', 'B', 'C' ], '7240207' => [ 'A', 'B' ], '7240943' => [ 'C' ] ); I've used two techniques to determine if the number should go into file2 or file3, one based on counting the number of elements in the [ 'A', 'B', 'C' ] array, and one based on matching the text in it. --Kester ------------start code------------ #!/usr/bin/perl use warnings; use strict; # Assumes the first line of the data will have two columns. my $key = ""; my %output; # Make a hash of COLUMN1 => [ each COLUMN2 entry ] while () { my @cols = split; $key = shift @cols if 2 == scalar @cols; # If there are two columns push @{$output{$key}}, $cols[0]; } # Count the entries in the value arrays to see while file the output should # go into: # foreach ( keys %output ) { print "$_ goes in file number ", ( 3 == scalar @{$output{$_}} ) ? "2\n" : "3\n"; } print "\n\n"; # Another technique-- verify that the text in the value arrays is correct: # my $full_match_regex = '^ABC$'; foreach ( keys %output ) { my $col2_vals = join "", sort @{$output{$_}}; print "$_ goes in file number ", ( $col2_vals =~ m/$full_match_regex/ ) ? "2\n" : "3\n"; } __DATA__ 7240185 A B C 7240943 C 7240207 A B 7240194 B C 7240190 A B C ------------end code------------ On 6/16/05, kenneth Jideofor wrote: > Hi George, > > Good reading from you. > It's my pleasure having my name in your mailing list. > > I believe this is a very good opportunity for me to > develop my self on Perl. > I look forward to getting what it takes to become a > Perl guru from the group. > > Meanwhile, I have this task to perform and I believe > Perl will offer me a better solution to accomplishing > it. > > I have tried doing it with an awk script but I > couldn't get exactly what I wanted. > I need an assistance on how to go about it with Perl > script. > > I have a file (FILE1)made up of two columns of data. > Column 1 contains numbers while Column 2 contains > letters. FILE1 is as shown below: > > FILE1: > __________________ > 7240185 A > B > C > 7240943 C > 7240207 A > B > 7240194 B > C > 7240190 A > B > C > ____________________ > > I need to produce two files (FILE2 and FILE3)from > FILE1 based on the following conditions: > > Each number in Column 1 is expected to have > corresponding letters A, B, and C in Column 2. I need > to print out to FILE2 all the numbers that do not have > their corresponding letters A, B, and C, while those > that have their corresponding letters A, B, and C > should be saved in FILE3. > > >From FILE1, the following numbers > do not have their corresponding letters A, B, and C: > > 7240943 > 7240207 > 7240194 > > while the following numbers have their corresponding > letters A, B, and C > > 7240185 > 7240190 > > Hence, FILE2 should contain the following numbers: > > 7240943 > 7240207 > 7240194 > > while FILE3 should contain the following numbers: > > 7240185 > 7240190 > > Could anyone, please, assist me with a Perl solution > to perform this task? > > Thanks. > > Best regards, > Ken > From david at fetter.org Thu Jun 16 09:57:15 2005 From: david at fetter.org (David Fetter) Date: Thu, 16 Jun 2005 09:57:15 -0700 Subject: [oak perl] Perl Script In-Reply-To: <20050616093703.245.qmail@web31106.mail.mud.yahoo.com> References: <20050616093703.245.qmail@web31106.mail.mud.yahoo.com> Message-ID: <20050616165715.GA6850@fetter.org> On Thu, Jun 16, 2005 at 02:37:03AM -0700, kenneth Jideofor wrote: > Hi George, > > Good reading from you. > It's my pleasure having my name in your mailing list. > > I believe this is a very good opportunity for me to > develop my self on Perl. > I look forward to getting what it takes to become a > Perl guru from the group. > > Meanwhile, I have this task to perform and I believe > Perl will offer me a better solution to accomplishing > it. > > I have tried doing it with an awk script but I > couldn't get exactly what I wanted. > I need an assistance on how to go about it with Perl > script. > > I have a file (FILE1)made up of two columns of data. > Column 1 contains numbers while Column 2 contains > letters. FILE1 is as shown below: > > FILE1: > __________________ > 7240185 A > B > C > 7240943 C > 7240207 A > B > 7240194 B > C > 7240190 A > B > C > ____________________ > > I need to produce two files (FILE2 and FILE3)from > FILE1 based on the following conditions: > > Each number in Column 1 is expected to have > corresponding letters A, B, and C in Column 2. I need > to print out to FILE2 all the numbers that do not have > their corresponding letters A, B, and C, while those > that have their corresponding letters A, B, and C > should be saved in FILE3. > > >From FILE1, the following numbers > do not have their corresponding letters A, B, and C: > > 7240943 > 7240207 > 7240194 > > while the following numbers have their corresponding > letters A, B, and C > > 7240185 > 7240190 > > Hence, FILE2 should contain the following numbers: > > 7240943 > 7240207 > 7240194 > > while FILE3 should contain the following numbers: > > 7240185 > 7240190 > > Could anyone, please, assist me with a Perl solution > to perform this task? The columns in FILE1 are separated by tabs, so this makes parsing unambiguous :) Warning: untest code ahead. my ($file1, $file2, $file3); my ($data, $current_num); open $file1, '<', 'FILE1' or die "Can't open FILE1 for reading: $!"; while(<$file1>) { m/^(\d*)\t(.*)/; $current_num = $1 if $1 =~ /^\d+$/; if ($current_num !~ /^\d+$/) { close $file1; die "Malformed file: no current number.\n" } push @{ $data->{$curren_num} }, $2; } close $file1; open $file2, '>', 'FILE2' or die "Can't open FILE2 for writing: $!"; open $file3, '>', 'FILE3' or die "Can't open FILE3 for writing: $!"; foreach my $key (sort keys %$data) { if ( ('A','B','C') eq sort @{$data->{$key}}) { print $file2 "$key\n"; } else { print $file3 "$key\n"; } } close $file2; close $file3; Cheers, D -- David Fetter david at fetter.org http://fetter.org/ phone: +1 510 893 6100 mobile: +1 415 235 3778 Remember to vote! From glim at mycybernet.net Thu Jun 16 21:51:00 2005 From: glim at mycybernet.net (Gerard Lim) Date: Fri, 17 Jun 2005 00:51 -0400 Subject: [oak perl] Last-minute reminder -- YAPC::NA 2005 Message-ID: Here's a last reminder about Yet Another Perl Conference, North America (YAPC::NA 2005) http://yapc.org/America In case anyone out there has been sitting on the fence or has been meaning to register but has put it on the backburner until now, here is a final information package. Dates: Mon - Wed June 27 - 29, 2005 (11 days from now!) Location: 89 Chestnut Street, University of Toronto, Toronto, Ontario, Canada Accommodations ============== Due to recent renegotiations with the conference facility and hotel, 89 Chestnut, there are still a few rooms left. For details on accommodations go to: http://www.yapc.org/America/accommodations-2005.shtml For quick and easy booking: 89 Chestnut Phone: +1-416-977-0707 Conference booking code: perl0626 The base rate is approx. CAD$80/night, which is *great* for downtown Toronto. Add in taxes and in-room high speed internet and it's up to about CAD$95/night. Book yourself to check-in on Sunday the 26th and check-out on the morning of Wednesday the 29th. Conference Registration ======================= Registration is easy and cheap - only USD$85 - see http://yapc.org/America/register-2005.shtml for details or register directly online at http://donate.perlfoundation.org/index.pl?node=registrant%20info&conference_id=423 The schedule is awesome - http://yapc.org/America/schedule-2005/day1.html >From here, click on the "Day 2" and "Day 3" spots near the top to go from page to page. Click on a talk name to get details regarding the talk. Speakers include Larry Wall, Allison Randal, Autrijus Tang, Brian Ingerson, Andy Lester, chromatic, brian d foy, Chip Salzenberg & Dan Sugalski... and many more! [ This message was sent by Gerard Lim on behalf of the YAPC::NA 2005 Conference organizing committee of the Toronto Perl Mongers. Thanks for your patience and support. ] From george at metaart.org Fri Jun 17 16:26:53 2005 From: george at metaart.org (George Woolley) Date: Fri, 17 Jun 2005 16:26:53 -0700 Subject: [oak perl] Fwd: Newsletter from O'Reilly UG Program, June 17 Message-ID: <200506171626.53646.george@metaart.org> ---------- Forwarded Message ---------- Subject: Newsletter from O'Reilly UG Program, June 17 Date: Friday 17 June 2005 3:31 pm From: Marsee Henon ... ================================================================ O'Reilly News for User Group Members June 17, 2005 ================================================================ ---------------------------------------------------------------- Book News ---------------------------------------------------------------- -Assembling Panoramic Photos: A Designer's Notebook -Ending Spam -Toad Pocket Reference for Oracle, 2nd Edition -Mac OS X Tiger for Unix Geeks -Firefox Secrets -Ship It! -eBay Hacks, 2nd Edition -Digital Video Hacks -Essential Mac OS X Panther Server Administration -.NET Gotchas -MAKE Subscriptions Available ---------------------------------------------------------------- Upcoming Events ---------------------------------------------------------------- -O'Reilly at JavaOne, San Francisco, CA--June 27-30 -James Avery at the Dayton .NET Developers Group, Fairborn, OH--July 25, 2005 ---------------------------------------------------------------- Conference News ---------------------------------------------------------------- -Early Registration Ending Soon for the O'Reilly Open Source Convention, Portland, OR--August 1-5 -Last Chance for Where 2.0 Conference, San Francisco, CA--June 29-30 ---------------------------------------------------------------- News ---------------------------------------------------------------- -Historical Maps Online -Creating a Textbook My Way: An Interview with Charles Anderson -Wire Frame Your Site -Live Backups of MySQL Using Replication -Ajax on Rails -Top Ten Data Crunching Tips and Tricks -What's New In PHP 5.1 -An Introduction to Tiger Terminal, Part 2 -Ten PowerPoint 2004 Tips to Beat Tight Deadlines -It's True! Jobs Switches to Intel: A Review of the WWDC 05 Keynote -Using Tabbed Browsing in Internet Explorer 6 -Using Microsoft's Malicious Software Removal Tool -Porting a Project from Visual Studio .NET to Mono -How to Talk About Jini, J2EE, and Web Services at a Cocktail Party -Exploring Laszlo Classes, Attributes, and Events -Adam Williams: Massive Guitars, Micro Computers -Bring Your MIDI Music to Life -MAKE's Rebellious Credo: Void the Warranty! -MAKE: Blog ================================================ Book News ================================================ Did you know you can request a free book to review for your group? Ask your group leader for more information. For book review writing tips and suggestions, go to: http://ug.oreilly.com/bookreviews.html Don't forget, you can receive 20% off any O'Reilly, No Starch, Paraglyph, Pragmatic Bookshelf, SitePoint, or Syngress book you purchase directly from O'Reilly. Just use code DSUG when ordering online or by phone 800-998-9938. http://www.oreilly.com/ ***Free ground shipping is available for online orders of at least $29.95 that go to a single U.S. address. This offer applies to U.S. delivery addresses in the 50 states and Puerto Rico. For more details, go to: http://www.oreilly.com/news/freeshipping_0703.html ---------------------------------------------------------------- New Releases ---------------------------------------------------------------- ***Assembling Panoramic Photos: A Designer's Notebook Publisher: O'Reilly ISBN: 0596009755 Reflecting the very best of French photography, graphic design, and digital artistry, this book is dazzling in concept and design. Part art book, part how-to guide, this Designer's Notebook sits you down next to renowned digital artists as they work step-by-step to create high-quality panoramas and 360-degree virtual reality scenes. It's a goldmine for any digital artist who wants to learn new Photoshop techniques for maximum effect. http://www.oreilly.com/catalog/assemblingadn/ Chapter 6, "On the Boulevards," is available online: http://www.oreilly.com/catalog/assemblingadn/chapter/ch06.pdf ***Ending Spam Publisher: No Starch ISBN: 1593270526 This landmark title describes, in-depth, how statistical filtering is being used by next generation spam filters to identify and filter spam. Readers gain a complete understanding of the mathematical approaches used in today's spam filters, decoding, tokenization, the use of various algorithms (including Bayesian analysis and Markovian discrimination), and the benefits of using open-source solutions to end spam. http://www.oreilly.com/catalog/1593270526/ ***Toad Pocket Reference for Oracle, 2nd Edition Publisher: O'Reilly ISBN: 0596009712 This new edition, revised to reflect Toad for Oracle V8.0 and V8.5, is packed with quick-reference material. It covers new features (e.g., CodeXpert and Script Debugger), shortcut keys, productivity tips, and more. If you're a developer needing to streamline code development or a DBA trying to simplify day-to-day administrative tasks, this pocket-sized guide is the one book to have by your side. http://www.oreilly.com/catalog/toadpr2/ ***Mac OS X Tiger for Unix Geeks Publisher: O'Reilly ISBN: 0596009127 This is the book for Mac command-line fans. Completely revised and updated to cover Mac OS X Tiger, this invaluable resource helps you quickly and painlessly get acclimated with Tiger's familiar-yet-foreign Unix environment. If you're a Unix geek with an interest in Mac OS X, you'll find that this concise book is the ideal survival guide for taming the Unix side of Tiger. http://www.oreilly.com/catalog/macxtigerunix/ Chapter 2, "Searching and Metadata," is available online: http://www.oreilly.com/catalog/macxtigerunix/chapter/index.html ***Firefox Secrets Publisher: SitePoint ISBN: 0975240242 "Firefox Secrets" is a guide to getting the most from the Mozilla Firefox browser. It will teach you to use all the hidden features, extensions, and tricks available to Firefox. This book is loaded with tips and advice on everything from making your browser faster to essential tools for developers, including plenty of examples throughout. http://www.oreilly.com/catalog/0975240242/ ***Ship It! Publisher: Pragmatic ISBN: 0974514047 Aimed at beginning to intermediate programmers, this book provides a wealth of practical advice on how to ensure successful software projects. It begins by introducing the common technical infrastructure that every project needs, letting readers choose from a variety of recommended technologies according to their skills and budgets. The next sections outline the necessary steps to get software out the door reliably, using easy-to-adopt, best-of-breed practices that actually work. http://www.oreilly.com/catalog/0974514047/ ***eBay Hacks, 2nd Edition Publisher: O'Reilly ISBN: 0-596-10068-X This second edition has been completely revised and updated with 30 brand new hacks, plus tons of expanded, deepened, or otherwise completely rewritten hacks. Learn clever tricks and shortcuts, such as advanced searching techniques, selling strategies, photography tips, and even research techniques for PowerSellers. This bestseller supplies you with the tools you need to master eBay, whether as a buyer or seller, casual surfer or serious collector, novice or seasoned expert. http://www.oreilly.com/catalog/ebayhks2/ Sample Hack 87, "Sell and Ship Internationally," is available online (along with six others): http://www.oreilly.com/catalog/ebayhks2/chapter/index.html ***Digital Video Hacks Publisher: O'Reilly ISBN: 0596009461 From acquiring footage, mixing, editing, and adding effects to final distribution, this book provides unique tips, tools, and techniques for every stage of video production. Whether you're looking for a new technique to include in your next project, a solution to a common problem, or just a little inspiration, "Digital Video Hacks" reintroduces you to the digital video you only thought you knew. http://www.oreilly.com/catalog/digitalvideohks/ ***Essential Mac OS X Panther Server Administration Publisher: O'Reilly ISBN: 0596006357 If you've ever wondered how to safely manipulate Mac OS X Panther Server's many underlying configuration files, this book's for you. Full of much-needed insight, clear explanations, troubleshooting tips, and security information in every chapter, this comprehensive guide shows system administrators how to utilize and customize the software's capabilities and features for their individual needs. Topics covered include installation, deployment, server management, web application services, data gathering, and more. http://www.oreilly.com/catalog/macxserver/ ***.NET Gotchas Publisher: O'Reilly ISBN: 0596009097 The ultimate guide for pain-free coding, this book tackles 75 common .NET programming pitfalls, steering you away from application performance problems and tainted code. The book is organized into nine chapters, each focusing on those features and constructs of the .NET platform that consistently baffle developers, complete with detailed examples, discussions, and guidelines for avoiding them. It's the ideal resource for .NET developers yearning for a more productive, stress-free existence. http://www.oreilly.com/catalog/netgotchas/ ***MAKE Magazine Subscriptions Available The annual subscription price for four issues is $34.95. When you subscribe with this link, you'll get a free issue--the first one plus four more for $34.95. So subscribe for yourself or friends with this great offer for charter subscribers: five volumes for the cost of four. Subscribe at: https://www.pubservice.com/MK/Subnew.aspx?PC=MK&PK=M5ZUGLA ================================================ Upcoming Events ================================================ ***For more events, please see: http://events.oreilly.com/ ***O'Reilly at JavaOne, San Francisco, CA--June 27-30 Drop by our booth (#537) to say hi and check out our latest Java offerings. This conference takes place at Moscone Center, San Francisco, CA. ttp://java.sun.com/javaone/sf/index.jsp ***James Avery at the Dayton .NET Developers Group, Fairborn, OH--July 25, 2005 Author James Avery ("Visual Studio Hacks") discusses getting the most out of Visual Studio's Integrated Development Environment with his talk titled "Pimp your IDE." James is the founder of the Cincinnati .NET Users Group and is the founder and president of InfoZerk, a software consulting company. The meeting starts at 6pm. http://www.daytondevgroup.net/schedule.htm ================================================ Conference News ================================================ ***Early Registration Ending Soon for the O'Reilly Open Source Convention, Portland, OR--August 1-5 OSCON 2005 explores three deep trends affecting open source: the commoditization of software, network-enabled collaboration, and software customizability. Join us at this essential gathering of open source leaders and practitioners of every persuasion to exchange ideas and push the boundaries of vital open source technologies. This year, we introduce the Open Source Business Review, along with a host of other exciting presentations and events. http://conferences.oreilly.com/oscon/ User Group members who register before June 20, 2005 get a double discount. Use code "os05grpusr" when you register, and receive 15% off the early registration price. To register for the conference, go to: http://conferences.oreillynet.com/cs/os2005/create/ord_os05 ***Last Chance to Register for the Where 2.0 Conference, San Francisco, CA--June 29-30 Join us at the first O'Reilly Where 2.0 Conference. Location-based services and mapping are becoming mainstream technologies. Meanwhile, innovative new software makes it possible to apply the wealth of new data to old business problems. Come explore the emerging consumer and enterprise ecosystems around location-aware technologies that increasingly impact the way we work and play. http://conferences.oreilly.com/where/ Use code "whereug" when you register, and receive 15% off the registration price. To register for the conference, go to: http://conferences.oreillynet.com/cs/where2005/create/ord_where ================================================ News From O'Reilly & Beyond ================================================ --------------------- General News --------------------- ***Historical Maps Online David Rumsey writes about his collection of more than 150,000 historical maps of the Americas and the world, many of which he has made available free to the public in an online map library. At O'Reilly's Where 2.0 Conference, David will draw on his personal map collection, as well as his work with geographic information systems, to discuss how information of all kinds has been mapped and will be mapped in the future. http://www.oreillynet.com/pub/a/network/2005/06/02/davidrumsey.html ***Creating a Textbook My Way: An Interview with Charles Anderson Charles Anderson is an assistant professor in the Division of Computer Science at Western Oregon University, teaching mostly networking and operating system courses. Being very particular about the materials covered in his classes, he's had difficulty finding appropriate and timely textbooks. Learn how Charles used SafariU to create his custom textbook, while avoiding copyright fair use limitations and the time-consuming process of gathering appropriate materials. Check out the SafariU homepage for details and a demo. http://www.oreillynet.com/pub/a/oreilly/news/safariuanderson.html ***Wire Frame Your Site Many elements of a site affect how successfuly it communicates with users. Wire frames can untangle your site's layout from its graphical communication, to help boost usability, logical content flow, and support the creation of a compelling graphic design. http://www.sitepoint.com/article/wire-frame-your-site --------------------- Open Source --------------------- ***Live Backups of MySQL Using Replication One of the difficulties with a large and active MySQL database is making clean backups without having to bring the server down. A simple method to ensure reliable backups is to set up replication for MySQL. Russell Dyer, author of "MySQL in a Nutshell," walks through the process of using replication for data backups. http://www.onlamp.com/pub/a/onlamp/2005/06/16/MySQLian.html ***Ajax on Rails XMLHttpRequest and Ruby on Rails are two hot topics in web development. As you ought to expect by now, they work really well together. Curt Hibbs explains the minimal Ajax you need to know and the minimal Ruby you need to write to Ajax-ify your Rails applications. http://www.onlamp.com/pub/a/onlamp/2005/06/09/rails_ajax.html ***Top Ten Data Crunching Tips and Tricks Every day, programmers perform unglamorous but necessary data crunching: recycling legacy data, checking configuration files, yanking data out of web server logs, and more. Knowing how to crunch data with the least amount of effort can make the difference between meeting a deadline and making another pot of coffee. Greg Wilson, author of Pragmatic's "Data Crunching," offers ten tips for crunch time. http://www.onlamp.com/pub/a/onlamp/2005/06/09/datacrunching.html ***What's New In PHP 5.1 Explore the new features and changes to the popular open-source web development technology. http://www.sitepoint.com/blog-post-view.php?id=272086 --------------------- Mac --------------------- ***An Introduction to Tiger Terminal, Part 2 In this second tutorial on Tiger Terminal by MacinTech UG member Mary Norbury-Glaser, you'll learn how to use the terminal app to look at external volumes, then enable ssh to access files, scp to securely copy them remotely, sftp for secure ftp, and finally how to use rsync to synchronize files between two computers. http://www.macdevcenter.com/pub/a/mac/2005/06/14/terminal2.html ***Ten PowerPoint 2004 Tips to Beat Tight Deadlines PowerPoint 2004 lets you turn text, graphics, sounds, and movies into dazzling presentations that get your message across in high style. But what if you're on a short deadline? Franklin Tessler, author of "Office 2004 for Mac: The Missing Manual," shows you ten ways to use PowerPoint to put together slideshows in no time. http://www.macdevcenter.com/pub/a/mac/2005/06/10/office04forMac.html ***It's True! Jobs Switches to Intel: A Review of the WWDC 05 Keynote Don't get too comfortable after making the transition to Mac OS X. Steve Jobs decides to keep things interesting by announcing during his WWDC 05 keynote that Apple will switch to Intel processors. Here's what he said and how he plans to make it happen. http://www.macdevcenter.com/pub/a/mac/2005/06/07/wwdc.html --------------------- Windows/.NET --------------------- ***Using Tabbed Browsing in Internet Explorer 6 You don't need to wait for Internet Explorer 7 for tabbed browsing--with the latest MSN Toolbar, you can use it in IE 6. Wei-Meng Lee shows you how to use it. http://www.windowsdevcenter.com/pub/a/windows/2005/06/14/ie_tabs.html ***Using Microsoft's Malicious Software Removal Tool The Microsoft Malicious Software Removal Tool can rid your PC of malware, even if you're already protected by antivirus software. Mitch Tulloch shows you the ins and outs of how to use it. Mitch is the author of "Windows Server Hacks." http://www.windowsdevcenter.com/pub/a/windows/2005/06/01/malware_removal.html ***Porting a Project from Visual Studio .NET to Mono Three years ago, when .NET was still in pre-release status, Kevin Farnham developed a C# application to automatically generate stock market web pages. Recently, he ported the project to Mono and Debian Linux. Follow along to see how the port went. http://www.ondotnet.com/pub/a/dotnet/2005/06/13/vs2mono.html --------------------- Java --------------------- ***How to Talk About Jini, J2EE, and Web Services at a Cocktail Party Heard about distributed technologies for Java, but not sure what they are or why they're important? Kathy Sierra and Bert Bates, authors of "Head First Java, 2nd Edition," present this cocktail-party overview. Hold your own in conversation with Java geeks. http://www.onjava.com/pub/a/onjava/2003/08/27/cocktails.html ***Exploring Laszlo Classes, Attributes, and Events Laszlo offers an interesting option for rich client-side GUIs--XML markup of widgets and their event handling, which is then converted into a Flash executable that is run with the Flash plugin in the user's browser. Satya Komatineni introduces Laszlo and shows how to get started writing web applications with it. http://www.onjava.com/pub/a/onjava/2005/06/15/laszlo.html --------------------- Digital Media --------------------- ***Adam Williams: Massive Guitars, Micro Computers The former Powerman 5000 guitarist reveals how to make huge guitar sounds on a home computer--without waking the neighbors--then shares loads of MP3 examples. http://digitalmedia.oreilly.com/2005/06/15/williams.html ***Bring Your MIDI Music to Life Jim Aikin shares numerous tips on getting the best musical expression out of them--both through playing technique and crafty computer editing. http://digitalmedia.oreilly.com/2005/06/08/controller2.html --------------------- MAKE --------------------- ***MAKE's Rebellious Credo: Void the Warranty! "New York Times" columnist Lawrence Downes recently touted the virtues of O'Reilly's new MAKE magazine. Downes salutes MAKE's renegade DIY spirit, noting, "In this world, to tinker--to open the case, to fiddle with wires, and see what happens--is to rebel." Are you ready to rebel? (Free registration required) http://www.nytimes.com/2005/06/12/opinion/12sun3.html? ***MAKE: Blog Phillip Torrone kicks the tires on the iPod photo connector. The iPod photo connector is a neat little accessory ($29) that you plug in to your iPod photo and to your supported camera; it can transfer all the photos off your camera and to the iPod, giving you 40/60 gigs of storage. The connector charges the shuffle and you can make a super-cheap DIY version of the Belkin media reader, too. http://www.makezine.com/blog/archive/2005/06/ipod_photo_conn.html ***For more information on MAKE, go to: http://www.makezine.com/ ================================================ From Your Peers =============================================== ***Don't forget to check out the O'Reilly UG wiki to see what user groups around the globe are up to: http://wiki.oreillynet.com/usergroups/index.cgi Until next time-- Marsee Henon ================================================================ O'Reilly 1005 Gravenstein Highway North Sebastopol, CA 95472 http://ug.oreilly.com/ http://www.oreilly.com ================================================================ ------------------------------------------------------- From david at fetter.org Tue Jun 21 15:27:52 2005 From: david at fetter.org (David Fetter) Date: Tue, 21 Jun 2005 15:27:52 -0700 Subject: [oak perl] XML <-> SQL with Chris Mungall Message-ID: <20050621222752.GA27931@fetter.org> Folks, Just a reminder, it's T minus 1 week, 4 hours 26 minutes until Chris Mungall starts imparting his wisdom at Perpetual. Details below. http://sf.pm.org/weblog/archives/00000027.html If you plan to attend and haven't yet R'ed, RSVP to dfetter at perpetual.com Cheers, D -- David Fetter david at fetter.org http://fetter.org/ phone: +1 510 893 6100 mobile: +1 415 235 3778 Remember to vote! From george at metaart.org Fri Jun 24 11:43:01 2005 From: george at metaart.org (George Woolley) Date: Fri, 24 Jun 2005 11:43:01 -0700 Subject: [oak perl] LinuxWorld 2005 in SF Message-ID: <200506241143.01261.george@metaart.org> Link: http://www.linuxworldexpo.com/live/12/events/12SFO05A For LinuxWorld 2005 in San Francisco, how about?: meet up time: 2pm meet up date: Tuesday, August 9, 2005 meet up place: O'Reilly booth #818 (1st floor) activities: * meet * say hi to Marsee (if there) * visit various booths TMTOWTDI: go your own way at any time Let me know if you plan to meet us there. <<< Notes ------- * This year the O'Reilly booth is the midst of many interesting booths. From george at metaart.org Sat Jun 25 10:24:39 2005 From: george at metaart.org (George Woolley) Date: Sat, 25 Jun 2005 10:24:39 -0700 Subject: [oak perl] Review of "PHP Pocket Reference" Message-ID: <200506251024.39622.george@metaart.org> Link: http://www.metaart.org/opug/reviews/phppr2.html There's a review of "PHP Pocket Reference" on our site should you wish to look at it. From george at metaart.org Sat Jun 25 11:15:01 2005 From: george at metaart.org (George Woolley) Date: Sat, 25 Jun 2005 11:15:01 -0700 Subject: [oak perl] Randal L. Schwartz Recipe Message-ID: <200506251115.01922.george@metaart.org> Link: http://cookbooks.oreilly.com/pub/c/9713 Note: Follow directions carefully. From mp at rawbw.com Sat Jun 25 12:41:37 2005 From: mp at rawbw.com (Michael Paoli) Date: Sat, 25 Jun 2005 12:41:37 -0700 Subject: [oak perl] LinuxWorld 2005 in SF In-Reply-To: <200506241143.01261.george@metaart.org> References: <200506241143.01261.george@metaart.org> Message-ID: <1119728497.42bdb37168340@webmail.rawbw.com> Sounds like a plan - pencil me in ... I'll probably be able to make it. Quoting George Woolley : > For LinuxWorld 2005 in San Francisco, > how about?: > meet up time: 2pm > meet up date: Tuesday, August 9, 2005 > meet up place: O'Reilly booth #818 (1st floor) > Let me know if you plan to meet us there. <<< From george at metaart.org Sat Jun 25 17:30:25 2005 From: george at metaart.org (George Woolley) Date: Sat, 25 Jun 2005 17:30:25 -0700 Subject: [oak perl] Perl 6 Lightning Talk? Message-ID: <200506251730.25539.george@metaart.org> So far we have two short talks for the July meeting. The topic for the meeting is Perl 6. Anyone else? <<< Oh, I have a copy of "Perl 6 and Parrot Essentials" available if that would help. when: 1-3pm, Saturday, July 9th From george at metaart.org Sat Jun 25 19:56:33 2005 From: george at metaart.org (George Woolley) Date: Sat, 25 Jun 2005 19:56:33 -0700 Subject: [oak perl] LinuxWorld 2005 in SF In-Reply-To: <1119728497.42bdb37168340@webmail.rawbw.com> References: <200506241143.01261.george@metaart.org> <1119728497.42bdb37168340@webmail.rawbw.com> Message-ID: <200506251956.33876.george@metaart.org> Michael: OK, I've created a list for that and put you on it as probably. All: Anyone else? On Saturday 25 June 2005 12:41 pm, Michael Paoli wrote: > Sounds like a plan - pencil me in ... I'll probably be able to make it. > > Quoting George Woolley : > > For LinuxWorld 2005 in San Francisco, > > how about?: > > meet up time: 2pm > > meet up date: Tuesday, August 9, 2005 > > meet up place: O'Reilly booth #818 (1st floor) > > Let me know if you plan to meet us there. <<< > > _______________________________________________ > Oakland mailing list > Oakland at pm.org > http://mail.pm.org/mailman/listinfo/oakland From alamozzz at yahoo.com Sun Jun 26 21:27:59 2005 From: alamozzz at yahoo.com (Adrien Lamothe) Date: Sun, 26 Jun 2005 21:27:59 -0700 (PDT) Subject: [oak perl] Funny post on AnandTech. Message-ID: <20050627042759.2069.qmail@web31407.mail.mud.yahoo.com> Just can't resist, this guy is funny. A quote from a post on AnandTech networking forum: "-The meaning of life is meaning.You strive to define it, and strive to have it define yourself. ?When I die, I want to go like my grandfather did, peacefully in his sleep. Not yelling and screaming like all the passengers in his car. ?Anything good in life is either illegal, immoral, or fattening. Anything not fitting into these categories causes cancer in rats." __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From david at fetter.org Mon Jun 27 16:47:41 2005 From: david at fetter.org (David Fetter) Date: Mon, 27 Jun 2005 16:47:41 -0700 Subject: [oak perl] Reminder: XML <-> SQL at Perpetual Message-ID: <20050627234741.GB4689@fetter.org> Folks, There's just a little over a day until Perpetual first hosts SF Perl Users Group. Day: Tuesday, June 28th Time: 8:00pm Place: Perpetual Entertainment 149 New Montgomery Street, 5th Floor San Francisco, CA 94105 Details: http://sf.pm.org/weblog/archives/00000027.html RSVP ASAP if you haven't already, as I need to give security your name for them to let you in. Cheers, D -- David Fetter david at fetter.org http://fetter.org/ phone: +1 510 893 6100 mobile: +1 415 235 3778 Remember to vote!