From randysleek at hotmail.com Sat Jun 7 16:52:11 2003 From: randysleek at hotmail.com (Randall Hennig) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Acmelist mailing manager Message-ID: Does anybody have any experience with this mailing list manager? I'm still getting the hang of Perl, and I've been having some problems getting this script to work. Basically, for starters, I'm just trying to setup a simple form that will subscribe someone to the mailing list. Thanks, Randy _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From wwalker at broadq.com Sat Jun 7 21:09:26 2003 From: wwalker at broadq.com (Wayne Walker) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Acmelist mailing manager In-Reply-To: References: Message-ID: <20030608020926.GA1797@broadq.com> Never used it. I've used Majordomo, I recommend against it. It's not bad, but it's labor intensive. I recommend mailman even though it's writen in... python :) On Sat, Jun 07, 2003 at 09:52:11PM +0000, Randall Hennig wrote: > Does anybody have any experience with this mailing list manager? I'm > still getting the hang of Perl, and I've been having some problems getting > this script to work. > > Basically, for starters, I'm just trying to setup a simple form that will > subscribe someone to the mailing list. > > Thanks, > > Randy -- Wayne Walker www.broadq.com :) Bringing digital video and audio to the living room From randysleek at hotmail.com Sun Jun 8 00:17:48 2003 From: randysleek at hotmail.com (Randall Hennig) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Acmelist mailing manager Message-ID: Figured it out, yay :) >From: Wayne Walker >Reply-To: Wayne Walker >To: Randall Hennig >CC: austin@mail.pm.org >Subject: Re: APM: Acmelist mailing manager >Date: Sat, 7 Jun 2003 21:09:26 -0500 > >Never used it. I've used Majordomo, I recommend against it. It's not >bad, but it's labor intensive. I recommend mailman even though it's >writen in... python :) > >On Sat, Jun 07, 2003 at 09:52:11PM +0000, Randall Hennig wrote: > > Does anybody have any experience with this mailing list manager? I'm > > still getting the hang of Perl, and I've been having some problems >getting > > this script to work. > > > > Basically, for starters, I'm just trying to setup a simple form that >will > > subscribe someone to the mailing list. > > > > Thanks, > > > > Randy > >-- > >Wayne Walker > >www.broadq.com :) Bringing digital video and audio to the living room _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From dbii at mudpuddle.com Tue Jun 10 22:34:18 2003 From: dbii at mudpuddle.com (David Bluestein II) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Monthly Meeting Next Week? Message-ID: Are we going to have Evan present on his topic next week? I've been looking forward to it since it was delayed last month and the website still shows the April meeting information. David ---------- David H. Bluestein II President & Lead Developer dbii@interaction.net ii, inc. http://www.interaction.net - Specializing in Designing Interactive Websites - - and Searchable Internet Databases - From randysleek at hotmail.com Wed Jun 11 10:13:24 2003 From: randysleek at hotmail.com (Randall Hennig) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Perl training Message-ID: Does anybody know of any local places in town that do Perl training? I found one called HOTT, but they are a little to expensive. ACC has a class, but it already started and the next one starts in September. I'm thinking about enrolling into a professional training course for Perl, recently if possible. Thanks, Randy _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From jeremyb at univista.com Wed Jun 11 10:58:56 2003 From: jeremyb at univista.com (jeremy) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Perl training In-Reply-To: References: Message-ID: <1055347135.22053.70.camel@oberon> I knew very little of any other language when I started learning Perl. I found it pretty easy to pick up using the Sam's Teach Yourself Perl in 21 days book.... It does have some typos that get a bit frustrating at times, but it's concise and well structured. The O'Reilly "Camel" is probably the best Perl book out, but i wouldn't recommend it as a first step since it's quite dense. If you're already a programmer; Perl ought to be a snap. Frankly, I think taking a class would be a waste of money when the resources you need can be had for free or under $50. If you really want to learn it well then read & practice, read & practice... That's what the prof will tell you to do. -Jeremy On Wed, 2003-06-11 at 10:13, Randall Hennig wrote: > Does anybody know of any local places in town that do Perl training? I > found one called HOTT, but they are a little to expensive. ACC has a class, > but it already started and the next one starts in September. I'm thinking > about enrolling into a professional training course for Perl, recently if > possible. > > Thanks, > > Randy > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > Austin mailing list > Austin@mail.pm.org > http://mail.pm.org/mailman/listinfo/austin From marvin at teelgroup.com Wed Jun 11 10:11:24 2003 From: marvin at teelgroup.com (marvin) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Perl training In-Reply-To: <1055347135.22053.70.camel@oberon> References: <1055347135.22053.70.camel@oberon> Message-ID: <200306111607.h5BG7ExH021344@ms-smtp-01.texas.rr.com> I agree with Jeremy. I am currently learning perl and using a book rather than classes. I purchased "Perl By Example" and I am using it to learn perl. BTW, I find quite a few perl books at the Downtown Public Library. Marvin On Wednesday 11 June 2003 11:58 am, Jeremy wrote: > I knew very little of any other language when I started learning Perl. > I found it pretty easy to pick up using the Sam's Teach Yourself Perl in > 21 days book.... It does have some typos that get a bit frustrating at > times, but it's concise and well structured. The O'Reilly "Camel" is > probably the best Perl book out, but i wouldn't recommend it as a first > step since it's quite dense. If you're already a programmer; Perl ought > to be a snap. Frankly, I think taking a class would be a waste of money > when the resources you need can be had for free or under $50. If you > really want to learn it well then read & practice, read & practice... > That's what the prof will tell you to do. > > -Jeremy > > On Wed, 2003-06-11 at 10:13, Randall Hennig wrote: > > Does anybody know of any local places in town that do Perl training? I > > found one called HOTT, but they are a little to expensive. ACC has a > > class, but it already started and the next one starts in September. I'm > > thinking about enrolling into a professional training course for Perl, > > recently if possible. > > > > Thanks, > > > > Randy > > > > _________________________________________________________________ > > The new MSN 8: advanced junk mail protection and 2 months FREE* > > http://join.msn.com/?page=features/junkmail > > > > _______________________________________________ > > Austin mailing list > > Austin@mail.pm.org > > http://mail.pm.org/mailman/listinfo/austin > > _______________________________________________ > Austin mailing list > Austin@mail.pm.org > http://mail.pm.org/mailman/listinfo/austin From eharris at puremagic.com Wed Jun 11 11:12:11 2003 From: eharris at puremagic.com (Evan Harris) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Monthly Meeting Next Week? In-Reply-To: Message-ID: I'm planning for it. I think Mark is going to send an offical announcement sometime soon. Evan On Tue, 10 Jun 2003, David Bluestein II wrote: > Are we going to have Evan present on his topic next week? I've been looking > forward to it since it was delayed last month and the website still shows > the April meeting information. > > David > > ---------- > David H. Bluestein II President & Lead Developer > dbii@interaction.net ii, inc. > > http://www.interaction.net > - Specializing in Designing Interactive Websites - > - and Searchable Internet Databases - > > > > > > _______________________________________________ > Austin mailing list > Austin@mail.pm.org > http://mail.pm.org/mailman/listinfo/austin > From randysleek at hotmail.com Wed Jun 11 13:18:04 2003 From: randysleek at hotmail.com (Randall Hennig) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Perl training Message-ID: Well, it is for me and another person. My boss was asking about it, otherwise, I wouldn't ask. I am just using Perl in a Nutshell and rolling my own scripts, so to speak. I'm pretty proficient with C++, C, and Java, but my coworker is not a programmer, however he has the aptitude. I think my boss just wants us to take a crash course of sorts to get at some level of competance to start out from. Personally, I wouldn't mind a course in Perl, especially if I don't have to pay for it. It still has to be relatively cheap though, HOTT wants 1695 for their course, which is too much for our small little company. If I have any problems, I'll be sure to ask, that's one of the reaons I subscribed :) Ciao. >From: jeremy >To: austin@mail.pm.org >Subject: Re: APM: Perl training >Date: 11 Jun 2003 10:58:56 -0500 > >I knew very little of any other language when I started learning Perl. >I found it pretty easy to pick up using the Sam's Teach Yourself Perl in >21 days book.... It does have some typos that get a bit frustrating at >times, but it's concise and well structured. The O'Reilly "Camel" is >probably the best Perl book out, but i wouldn't recommend it as a first >step since it's quite dense. If you're already a programmer; Perl ought >to be a snap. Frankly, I think taking a class would be a waste of money >when the resources you need can be had for free or under $50. If you >really want to learn it well then read & practice, read & practice... >That's what the prof will tell you to do. > >-Jeremy > >On Wed, 2003-06-11 at 10:13, Randall Hennig wrote: > > Does anybody know of any local places in town that do Perl training? I > > found one called HOTT, but they are a little to expensive. ACC has a >class, > > but it already started and the next one starts in September. I'm >thinking > > about enrolling into a professional training course for Perl, recently >if > > possible. > > > > Thanks, > > > > Randy > > > > _________________________________________________________________ > > The new MSN 8: advanced junk mail protection and 2 months FREE* > > http://join.msn.com/?page=features/junkmail > > > > _______________________________________________ > > Austin mailing list > > Austin@mail.pm.org > > http://mail.pm.org/mailman/listinfo/austin > >_______________________________________________ >Austin mailing list >Austin@mail.pm.org >http://mail.pm.org/mailman/listinfo/austin _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From mlehmann at marklehmann.com Thu Jun 12 08:51:39 2003 From: mlehmann at marklehmann.com (Mark Lehmann) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Meeting Wed June 18 at 7:00pm: Topic: SPAM filtering Message-ID: <16104.34155.676811.690134@lehmbrain.marklehmann.com> The next APM meeting is this Wednesday, June 18 at 7:00 pm (ending at 8:30pm). What ==== Evan Harris will present SPAM filtering techniques, including perl modules and configurations for those modules. Where ===== Tek Systems is on the North side of Austin and is conveniently located close to 183. Dinner ====== Feel free to join us for dinner at Pok-e-Jo's behind the Macroni Grill, at the intersection of 183 and Great Hills Trail at 6:00pm. Drinking/Socializing ==================== After the meeting, a small group will be going out to socialize. The group typically meets at B.B. Rover's, which serves food and drinks. Here are the directions to the Tek System offices. Going North on 183: - Take the Oak Knoll Exit. - If you are going South on 183 take the Duvall exit and take the U turn so that you are heading North. - Take your First right at Riata Trace Parkway (which is before the Oak Knoll light) - Take your second right at Riata Corporate Park. (You'll see a Netsolve sign) - IMMEDIATELY turn right again (the sign does not have our name on it) You will be facing our building and turn left into the parking lot. Take the elevator to the second floor, turn right. Tek Systems is at the end of the hall. Address: 12331-1 Riata Trace Parkway, Suite 200 Austin, TX 78727 512-257-6907 -- Mark Lehmann email mlehmann@marklehmann.com | phone 512 689-7705 From rock808 at DavidSlimp.com Thu Jun 12 16:41:50 2003 From: rock808 at DavidSlimp.com (david slimp) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Perl training In-Reply-To: ; from randysleek@hotmail.com on Wed, Jun 11, 2003 at 03:13:24PM +0000 References: Message-ID: <20030612164150.R4420@DavidSlimp.com> Hi! I am a local (Austin) contract instructor that teaches a variety of classes, including Perl. I would NOT recommend HOTT for a couple of reasons. I'd say the class you want depends on what you want to get out of it. I teach Perl for several local companies including Tech Now, Executrain, and Akibia (Sun Microsystems vendor). Each company uses slightly different courseware, all about the same topics though. If you are interested in more info lemme know. david On Wed, Jun 11, 2003 at 03:13:24PM +0000, Randall Hennig wrote: > Does anybody know of any local places in town that do Perl training? I > found one called HOTT, but they are a little to expensive. ACC has a class, > but it already started and the next one starts in September. I'm thinking > about enrolling into a professional training course for Perl, recently if > possible. -- David Slimp rock808@DavidSlimp.com http://www.DavidSlimp.com Yahoo Instant Messenger ID: rock808 fax: 801-858-4102 From jeremyb at univista.com Thu Jun 12 17:20:06 2003 From: jeremyb at univista.com (jeremy) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Perl training In-Reply-To: <20030612164150.R4420@DavidSlimp.com> References: <20030612164150.R4420@DavidSlimp.com> Message-ID: <1055456406.6725.0.camel@oberon> On Thu, 2003-06-12 at 16:41, david slimp wrote: > Hi! > > I am a local (Austin) contract instructor that > teaches a variety of classes, including Perl. > > I would NOT recommend HOTT for a couple of reasons. > What are those reasons? > I'd say the class you want depends on what you > want to get out of it. I teach Perl for several > local companies including Tech Now, Executrain, and > Akibia (Sun Microsystems vendor). Each company > uses slightly different courseware, all about the > same topics though. > > If you are interested in more info lemme know. > > david > > > On Wed, Jun 11, 2003 at 03:13:24PM +0000, Randall Hennig wrote: > > Does anybody know of any local places in town that do Perl training? I > > found one called HOTT, but they are a little to expensive. ACC has a class, > > but it already started and the next one starts in September. I'm thinking > > about enrolling into a professional training course for Perl, recently if > > possible. From dbii at mudpuddle.com Tue Jun 17 08:11:01 2003 From: dbii at mudpuddle.com (David Bluestein II) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Looking forward to APM Meeting Tomorrow Message-ID: After wading through spam this morning, I'm looking forward to Evan talking about spam filtering tomorrow. I got 60 emails overnight, of which 2 were for me, 5 were automated server reports and 53 were spam. Poke jo's and spam filtering--what a night! David ---------- David H. Bluestein II President & Lead Developer dbii@interaction.net ii, inc. http://www.interaction.net - Specializing in Designing Interactive Websites - - and Searchable Internet Databases - From mlehmann at marklehmann.com Tue Jun 17 15:23:48 2003 From: mlehmann at marklehmann.com (Mark Lehmann) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Alternate projector Message-ID: <16111.30932.364751.878641@lehmbrain.marklehmann.com> TekSystems supplies a project for us at the meetings. That project is starting to show signs up extreme wear and tear. Could someone bring a 1024x768 projector to the meeting tomorrow? -- Mark Lehmann email mlehmann@marklehmann.com | phone 512 689-7705 From mlehmann at marklehmann.com Wed Jun 18 10:18:29 2003 From: mlehmann at marklehmann.com (Mark Lehmann) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Meeting tonight: SPAM Filtering Message-ID: <16112.33477.185673.887587@lehmbrain.marklehmann.com> Reminder: Tonight is our APM meeting. We are meeting for dinner at Pok-e-Jo's at 183 and Great Hills trail at 6:00pm. Next, meeting at TekSystems at 7:00pm. Evan Harris is going to present SPAM Filtering techniques. Last, top the evening off with food and drinks at BB Rovers. See the website: http://austin.pm.org for directions. -- Mark Lehmann email mlehmann@marklehmann.com | phone 512 689-7705 From eharris at puremagic.com Sat Jun 21 01:24:39 2003 From: eharris at puremagic.com (Evan Harris) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Meeting Wed June 18 at 7:00pm: Topic: SPAM filtering In-Reply-To: <16104.34155.676811.690134@lehmbrain.marklehmann.com> Message-ID: For those of you interested in the Greylisting filter I talked about at the end of my presentation, the paper on it was featured on Slasdot on Friday, and the online version of the paper (and source) is available here: http://projects.puremagic.com/greylisting/ Evan On Thu, 12 Jun 2003, Mark Lehmann wrote: > > The next APM meeting is this Wednesday, June 18 at 7:00 pm (ending at > 8:30pm). > > What > ==== > Evan Harris will present SPAM filtering techniques, including perl modules > and configurations for those modules. > > Where > ===== > > Tek Systems is on the North side of Austin and is conveniently located close > to 183. > > Dinner > ====== > > Feel free to join us for dinner at Pok-e-Jo's behind the Macroni Grill, at > the intersection of 183 and Great Hills Trail at 6:00pm. > > Drinking/Socializing > ==================== > > After the meeting, a small group will be going out to socialize. The group > typically meets at B.B. Rover's, which serves food and drinks. > > Here are the directions to the Tek System offices. > > Going North on 183: > > - Take the Oak Knoll Exit. > > - If you are going South on 183 take the Duvall exit and take the U turn so > that you are heading North. > > - Take your First right at Riata Trace Parkway (which is before the Oak Knoll > light) > > - Take your second right at Riata Corporate Park. (You'll see a Netsolve > sign) > > - IMMEDIATELY turn right again (the sign does not have our name on it) You > will be facing our building and turn left into the parking lot. Take the > elevator to the second floor, turn right. Tek Systems is at the end of the hall. > > Address: > > 12331-1 Riata Trace Parkway, Suite 200 > Austin, TX 78727 > 512-257-6907 > > -- > Mark Lehmann > email mlehmann@marklehmann.com | phone 512 689-7705 > _______________________________________________ > Austin mailing list > Austin@mail.pm.org > http://mail.pm.org/mailman/listinfo/austin > From jeremyb at univista.com Sun Jun 22 18:58:02 2003 From: jeremyb at univista.com (jeremy) Date: Mon Aug 2 21:23:18 2004 Subject: APM: perl or shell script to generate MySQL db Message-ID: <1056326282.2786.29.camel@oberon> Hey Mongers, I've been working on a project based heavily in MySQL/Perl DBI. The databases and tables in them were originally generated with the script I wrote early on in the project. Since then, extensive modifications to the tables, and fields have made it necessary to update the creation scripts. I'd rather not update the scripts manually by eye-balling the table descriptions. MY QUESTIONS ARE: 1a. Does anyone have a Perl script for accessing a MySQL server, inspecting it's databases and writing out a MySQL script for recreating the same databases, tables and fields? 1b. Does MySQL 4.0.13 have native support for something like this? thanks, Jeremy From eharris at puremagic.com Sun Jun 22 20:07:43 2003 From: eharris at puremagic.com (Evan Harris) Date: Mon Aug 2 21:23:18 2004 Subject: APM: perl or shell script to generate MySQL db In-Reply-To: <1056326282.2786.29.camel@oberon> Message-ID: Mysql comes with a utility to dump and restore databases, called mysqldump. That will probably give you what you are looking for. Evan On 22 Jun 2003, jeremy wrote: > Hey Mongers, > I've been working on a project based heavily in MySQL/Perl DBI. > The databases and tables in them were originally generated with the > script I wrote early on in the project. Since then, extensive > modifications to the tables, and fields have made it necessary to > update the creation scripts. I'd rather not update the scripts manually > by eye-balling the table descriptions. > > MY QUESTIONS ARE: > 1a. Does anyone have a Perl script for accessing a MySQL server, > inspecting it's databases and writing out a MySQL script for recreating > the same databases, tables and fields? > > 1b. Does MySQL 4.0.13 have native support for something like this? > > thanks, > Jeremy > > > > _______________________________________________ > Austin mailing list > Austin@mail.pm.org > http://mail.pm.org/mailman/listinfo/austin > From wwalker at broadq.com Sun Jun 22 21:13:27 2003 From: wwalker at broadq.com (Wayne Walker) Date: Mon Aug 2 21:23:18 2004 Subject: APM: perl or shell script to generate MySQL db In-Reply-To: <1056326282.2786.29.camel@oberon> References: <1056326282.2786.29.camel@oberon> Message-ID: <20030623021327.GA1822@broadq.com> Something like this (i didn't check the syntax, read the man page if this isn't right) mysqldump -u root -p --no-data --all-tables mydatabase > mydatabase_skeleton_create.sql on other machine echo create database my_new_database | mysql -u root -p mysql -u root -p my_new_database < mydatabase_skeleton_create.sql On Sun, Jun 22, 2003 at 06:58:02PM -0500, jeremy wrote: > Hey Mongers, > I've been working on a project based heavily in MySQL/Perl DBI. > The databases and tables in them were originally generated with the > script I wrote early on in the project. Since then, extensive > modifications to the tables, and fields have made it necessary to > update the creation scripts. I'd rather not update the scripts manually > by eye-balling the table descriptions. > > MY QUESTIONS ARE: > 1a. Does anyone have a Perl script for accessing a MySQL server, > inspecting it's databases and writing out a MySQL script for recreating > the same databases, tables and fields? > > 1b. Does MySQL 4.0.13 have native support for something like this? > > thanks, > Jeremy > > > > _______________________________________________ > Austin mailing list > Austin@mail.pm.org > http://mail.pm.org/mailman/listinfo/austin -- Wayne Walker www.broadq.com :) Bringing digital video and audio to the living room From jeremyb at univista.com Mon Jun 23 09:38:11 2003 From: jeremyb at univista.com (jeremy) Date: Mon Aug 2 21:23:18 2004 Subject: APM: perl or shell script to generate MySQL db In-Reply-To: <20030623021327.GA1822@broadq.com> References: <1056326282.2786.29.camel@oberon> <20030623021327.GA1822@broadq.com> Message-ID: <1056379091.2806.31.camel@oberon> great, thanks Wayne and Evan -Jeremy On Sun, 2003-06-22 at 21:13, Wayne Walker wrote: > Something like this (i didn't check the syntax, read the man page if > this isn't right) > > mysqldump -u root -p --no-data --all-tables mydatabase > mydatabase_skeleton_create.sql > > on other machine > > echo create database my_new_database | mysql -u root -p > > mysql -u root -p my_new_database < mydatabase_skeleton_create.sql > > > > > On Sun, Jun 22, 2003 at 06:58:02PM -0500, jeremy wrote: > > Hey Mongers, > > I've been working on a project based heavily in MySQL/Perl DBI. > > The databases and tables in them were originally generated with the > > script I wrote early on in the project. Since then, extensive > > modifications to the tables, and fields have made it necessary to > > update the creation scripts. I'd rather not update the scripts manually > > by eye-balling the table descriptions. > > > > MY QUESTIONS ARE: > > 1a. Does anyone have a Perl script for accessing a MySQL server, > > inspecting it's databases and writing out a MySQL script for recreating > > the same databases, tables and fields? > > > > 1b. Does MySQL 4.0.13 have native support for something like this? > > > > thanks, > > Jeremy > > > > > > > > _______________________________________________ > > Austin mailing list > > Austin@mail.pm.org > > http://mail.pm.org/mailman/listinfo/austin From jeremyb at univista.com Mon Jun 23 09:58:47 2003 From: jeremyb at univista.com (jeremy) Date: Mon Aug 2 21:23:18 2004 Subject: APM: perl or shell script to generate MySQL db In-Reply-To: <1056379091.2806.31.camel@oberon> References: <1056326282.2786.29.camel@oberon> <20030623021327.GA1822@broadq.com> <1056379091.2806.31.camel@oberon> Message-ID: <1056380327.2786.35.camel@oberon> This worked: mysqldump -p --no-data --all-databases just fyi: I searched for --all-tables in the mysqldump man page and came up with nothing. asta', jeremy On Mon, 2003-06-23 at 09:38, jeremy wrote: > great, thanks Wayne and Evan > > -Jeremy > > On Sun, 2003-06-22 at 21:13, Wayne Walker wrote: > > Something like this (i didn't check the syntax, read the man page if > > this isn't right) > > > > mysqldump -u root -p --no-data --all-tables mydatabase > mydatabase_skeleton_create.sql > > > > on other machine > > > > echo create database my_new_database | mysql -u root -p > > > > mysql -u root -p my_new_database < mydatabase_skeleton_create.sql > > > > > > > > > > On Sun, Jun 22, 2003 at 06:58:02PM -0500, jeremy wrote: > > > Hey Mongers, > > > I've been working on a project based heavily in MySQL/Perl DBI. > > > The databases and tables in them were originally generated with the > > > script I wrote early on in the project. Since then, extensive > > > modifications to the tables, and fields have made it necessary to > > > update the creation scripts. I'd rather not update the scripts manually > > > by eye-balling the table descriptions. > > > > > > MY QUESTIONS ARE: > > > 1a. Does anyone have a Perl script for accessing a MySQL server, > > > inspecting it's databases and writing out a MySQL script for recreating > > > the same databases, tables and fields? > > > > > > 1b. Does MySQL 4.0.13 have native support for something like this? > > > > > > thanks, > > > Jeremy > > > > > > > > > > > > _______________________________________________ > > > Austin mailing list > > > Austin@mail.pm.org > > > http://mail.pm.org/mailman/listinfo/austin > > _______________________________________________ > Austin mailing list > Austin@mail.pm.org > http://mail.pm.org/mailman/listinfo/austin From wwalker at bybent.com Mon Jun 23 09:59:50 2003 From: wwalker at bybent.com (Wayne Walker) Date: Mon Aug 2 21:23:18 2004 Subject: APM: perl or shell script to generate MySQL db In-Reply-To: <1056380327.2786.35.camel@oberon> References: <1056326282.2786.29.camel@oberon> <20030623021327.GA1822@broadq.com> <1056379091.2806.31.camel@oberon> <1056380327.2786.35.camel@oberon> Message-ID: <20030623145950.GA1617@broadq.com> On Mon, Jun 23, 2003 at 09:58:47AM -0500, jeremy wrote: > This worked: > > mysqldump -p --no-data --all-databases Be Careful! That also saves the data for creating the database named "mysql". You don't want to modify that one. > > just fyi: > I searched for --all-tables in the mysqldump man page and came up with > nothing. I knew it didn't look quite right but I only use that command about every 6 months. -- Wayne Walker www.broadq.com :) Bringing digital video and audio to the living room From jeremyb at univista.com Mon Jun 23 10:20:35 2003 From: jeremyb at univista.com (jeremy) Date: Mon Aug 2 21:23:18 2004 Subject: APM: perl or shell script to generate MySQL db In-Reply-To: <20030623145950.GA1617@broadq.com> References: <1056326282.2786.29.camel@oberon> <20030623021327.GA1822@broadq.com> <1056379091.2806.31.camel@oberon> <1056380327.2786.35.camel@oberon> <20030623145950.GA1617@broadq.com> Message-ID: <1056381635.2806.41.camel@oberon> On Mon, 2003-06-23 at 09:59, Wayne Walker wrote: > On Mon, Jun 23, 2003 at 09:58:47AM -0500, jeremy wrote: > > This worked: > > > > mysqldump -p --no-data --all-databases > > Be Careful! That also saves the data for creating the database named > "mysql". You don't want to modify that one. thanks for the warning; I'll remake the script with only the project databases. > > > > just fyi: > > I searched for --all-tables in the mysqldump man page and came up with > > nothing. > > I knew it didn't look quite right but I only use that command about every > 6 months. From Goldilox at teachnet.edb.utexas.edu Thu Jun 26 12:21:57 2003 From: Goldilox at teachnet.edb.utexas.edu (Goldilox) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Open Source Listservs Message-ID: I am needing to set up a mailing list that only mails out once a month, and does not receive replies (but watches for bounces), starting with a few hundred subscribers and moving on to a few thousand subscribers over time. I saw a discussion here about Majordomo being a little unwieldy in its setup overhead and some folks were talking about Perl based packages (open source). Question 1: Are there any recommendations for (or against) open source (i.e. free) mail subscription packages? Question 2: Also, how powerful a machine would I need to run this kind of mailserver (I'm hoping I can revive an old Pentium machine since it is just a send without replies or discussion)? Thanks for any help Rhett From randysleek at hotmail.com Thu Jun 26 15:33:45 2003 From: randysleek at hotmail.com (Randall Hennig) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Open Source Listservs Message-ID: i recently had to learn how to send mail using perl, which was pretty easy. i do not know how to check mail using perl yet, but maybe a couple cron jobs and a couple simple perl scripts could do it? randy >From: "Goldilox" >To: austin-pm@pm.org >Subject: APM: Open Source Listservs >Date: Thu, 26 Jun 2003 12:21:57 -0500 > >I am needing to set up a mailing list that only mails out once a month, and >does not receive replies (but watches for bounces), starting with a few >hundred >subscribers and moving on to a few thousand subscribers over time. > >I saw a discussion here about Majordomo being a little unwieldy in its >setup >overhead and some folks were talking about Perl based packages (open >source). > >Question 1: >Are there any recommendations for (or against) open source (i.e. free) mail >subscription packages? > >Question 2: >Also, how powerful a machine would I need to run this kind of mailserver >(I'm >hoping I can revive an old Pentium machine since it is just a send without >replies or discussion)? > >Thanks for any help > >Rhett > >_______________________________________________ >Austin mailing list >Austin@mail.pm.org >http://mail.pm.org/mailman/listinfo/austin _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From wwalker at broadq.com Fri Jun 27 12:41:22 2003 From: wwalker at broadq.com (Wayne Walker) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Image::Magick question Message-ID: <20030627174122.GA2546@broadq.com> If I do: $fn = new Image::Magick; foreach $fn(@filenames) { $im->Read($fn); } There is now an array of images held inside the object $im. I want to copy a specify image and hav a new copy of it to mogrify without reading from the file again. it should be something simple in the API, but I can't find it... -- Wayne Walker www.broadq.com :) Bringing digital video and audio to the living room From David at starlightmedia.net Sun Jun 29 20:53:51 2003 From: David at starlightmedia.net (David Murphy) Date: Mon Aug 2 21:23:18 2004 Subject: APM: Crontab problem Message-ID: <009901c33eaa$77d7ce20$6601a8c0@monster> Im trying to load a script via crontab The cronttab entry is */2 * * * * QUERY_STRING='Blah:Blah' && export QUIERY_STRING && cd /path/to/script && ./script.pl Some varations ive tried are 1. Putting the command in a sh file and running that 2. */2 * * * * QUERY_STRING='Blah:Blah' ; export QUIERY_STRING ;cd /path/to/script ; ./script.pl 3. */2 * * * * QUERY_STRING='Blah:Blah' ; export QUIERY_STRING ;cd /path/to/script ; perl script.pl 4. */2 * * * * QUERY_STRING='Blah:Blah' ; export QUIERY_STRING ; perl /path/to/script.pl 5. */2 * * * * QUERY_STRING='Blah:Blah' ; export QUIERY_STRING ; /path/to/script.pl 6. Writing a Perl script that issue system('QUERY_STRING='Blah:Blah' ; export QUIERY_STRING ;cd /path/to/script ; ./script.pl') None of these work but all of these if put into sh or bash run fine. What I get back via a cronemail is variable But one thing is constant it always in one way or another say file not found Either sh cant find it or perl cant or bin/sh couldn't find it. Anyhelp here would be awesome And 0755 is the permissions and owner ship of the file it to the user running the cron. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/austin/attachments/20030629/39e01b2b/attachment.htm From lhunter at lhunter.com Sun Jun 29 21:19:36 2003 From: lhunter at lhunter.com (Larry Hunter) Date: Mon Aug 2 21:23:19 2004 Subject: APM: Crontab problem In-Reply-To: <009901c33eaa$77d7ce20$6601a8c0@monster> Message-ID: <5.2.0.9.0.20030629211412.01ee65e0@lhunter.com> The examples have two different spellings of the variable: QUERY_STRING and QUIERY_STRING. If it's in the crontab job that way it might be the problem. Also make sure the shebang line in the Perl program has the right path to your Perl executable. If that path is not right, you'll get the "file not found" message from trying to find the Perl executable. BTW I frequently screw this up when developing on a Windows box to run on Linux or Unix. At 08:53 PM 6/29/2003 -0500, David Murphy wrote: >Im trying to load a script via crontab > > > > > >The cronttab entry is > >*/2 * * * * QUERY_STRING=Blah:Blah&& export QUIERY_STRING && cd >/path/to/script && ./script.pl > > > >Some varations ive tried are > * Putting the command in a sh file and running that > * */2 * * * * QUERY_STRING=Blah:Blah; export QUIERY_STRING ;cd > /path/to/script ; ./script.pl > * */2 * * * * QUERY_STRING=Blah:Blah; export QUIERY_STRING ;cd > /path/to/script ; perl script.pl > * */2 * * * * QUERY_STRING=Blah:Blah; export QUIERY_STRING ; > perl /path/to/script.pl > * */2 * * * * QUERY_STRING=Blah:Blah; export QUIERY_STRING ; > /path/to/script.pl > * Writing a Perl script that issue system(QUERY_STRING=Blah:Blah; > export QUIERY_STRING ;cd /path/to/script ; ./script.pl) > >None of these work but all of these if put into sh or bash run fine. > > > > > >What I get back via a cronemail is variable > >But one thing is constant it always in one way or another say file not found > >Either sh cant find it or perl cant or bin/sh couldnt find it. > > > > > >Anyhelp here would be awesome > > > > > >And 0755 is the permissions and owner ship of the file it to the user >running the cron. ------------------------------------------------------------------------ Larry Hunter lhunter@lhunter.com http://lhunter.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/austin/attachments/20030629/83a5fde2/attachment.htm From wwalker at broadq.com Sun Jun 29 21:47:55 2003 From: wwalker at broadq.com (Wayne Walker) Date: Mon Aug 2 21:23:19 2004 Subject: APM: Crontab problem In-Reply-To: <009901c33eaa$77d7ce20$6601a8c0@monster> References: <009901c33eaa$77d7ce20$6601a8c0@monster> Message-ID: <20030630024755.GB1500@broadq.com> On Sun, Jun 29, 2003 at 08:53:51PM -0500, David Murphy wrote: > > Im trying to load a script via crontab > > The cronttab entry is > */2 * * * * cd /path/to/script && QUERY_STRING='Blah:Blah' ./script.pl That should do exactly what you want. in order to test manually rather than wait for cron,: env -i SHELL=/bin/sh PATH=/usr/bin:/bin PWD=/home/wwalker SHLVL=1 HOME=/home/wwalker LOGNAME=wwalker /bin/sh -c "cd /path/to/script && QUERY_STRING='Blah:Blah' ./script.pl" Your problems are almost certainly environment variables that you expect to be set that are not. Your user start up files are NOT read by the shell that cron execs your program with. Or the misspelliong of the exported variable. in my method, your only have to type it once. > Some varations ive tried are > 1. Putting the command in a sh file and running that > 2. */2 * * * * QUERY_STRING='Blah:Blah' ; export QUIERY_STRING ;cd > /path/to/script ; ./script.pl > 3. */2 * * * * QUERY_STRING='Blah:Blah' ; export QUIERY_STRING ;cd > /path/to/script ; perl script.pl > 4. */2 * * * * QUERY_STRING='Blah:Blah' ; export QUIERY_STRING ; > perl /path/to/script.pl > 5. */2 * * * * QUERY_STRING='Blah:Blah' ; export QUIERY_STRING ; > /path/to/script.pl > 6. Writing a Perl script that issue system(`QUERY_STRING='Blah:Blah' > ; export QUIERY_STRING ;cd /path/to/script ; ./script.pl') > > None of these work but all of these if put into sh or bash run fine. > > > > What I get back via a cronemail is variable > > But one thing is constant it always in one way or another say file > not found > > Either sh cant find it or perl cant or bin/sh couldn't find it. > > > > Anyhelp here would be awesome > > > > And 0755 is the permissions and owner ship of the file it to the user > running the cron. -- Wayne Walker www.broadq.com :) Bringing digital video and audio to the living room From David at starlightmedia.net Sun Jun 29 23:02:49 2003 From: David at starlightmedia.net (David Murphy) Date: Mon Aug 2 21:23:19 2004 Subject: APM: Crontab problem In-Reply-To: <20030630024755.GB1500@broadq.com> Message-ID: <00db01c33ebc$8007bb70$6601a8c0@monster> Using the command give it worked find in console So I made my cron read like this: MAILTO="Dbmurphy@austin.rr.com" SHELL=/bin/sh PATH=/usr/bin:/bin PWD=/home/freexxxm SHLVL=1 HOME=/home/freexxxm LOGNAME=freexxxm */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Anal-Sex:Tall' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Anal-Sex:Wide' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Blow-Jobs:Tall' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Blow-Jobs:Wide' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Butt-Pics:Tall' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Butt-Pics:Wide' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Cum-Shots:Tall' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Cum-Shots:Wide' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Dick-Pics:Tall' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Dick-Pics:Wide' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Frat-Boys:Tall' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Frat-Boys:Wide' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Jack-Offs:Tall' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Jack-Offs:Wide' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Muscle-Men:Tall' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Muscle-Men:Wide' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Rim:Tall' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Rim:Wide' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Sex-Toys:Tall' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Sex-Toys:Wide' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Twinks:Tall' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Twinks:Wide' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Uniforms:Tall' ./gal.cgi" */2 * * * * env -i /bin/sh -c "cd /home/freexxxm/www/cgi-bin/gallerymaker && QUERY_STRING='Uniforms:Wide' ./gal.cgi" Does this look correct cus the email I recived was /bin/sh: line 1: ./gal.cgi : No such file or directory -----Original Message----- From: Wayne Walker [mailto:wwalker@broadq.com] Sent: Sunday, June 29, 2003 9:48 PM To: David Murphy Cc: austin@mail.pm.org Subject: Re: APM: Crontab problem On Sun, Jun 29, 2003 at 08:53:51PM -0500, David Murphy wrote: > > Im trying to load a script via crontab > > The cronttab entry is > */2 * * * * cd /path/to/script && QUERY_STRING='Blah:Blah' ./script.pl That should do exactly what you want. in order to test manually rather than wait for cron,: env -i SHELL=/bin/sh PATH=/usr/bin:/bin PWD=/home/wwalker SHLVL=1 HOME=/home/wwalker LOGNAME=wwalker /bin/sh -c "cd /path/to/script && QUERY_STRING='Blah:Blah' ./script.pl" Your problems are almost certainly environment variables that you expect to be set that are not. Your user start up files are NOT read by the shell that cron execs your program with. Or the misspelliong of the exported variable. in my method, your only have to type it once. > Some varations ive tried are > 1. Putting the command in a sh file and running that > 2. */2 * * * * QUERY_STRING='Blah:Blah' ; export QUIERY_STRING ;cd > /path/to/script ; ./script.pl > 3. */2 * * * * QUERY_STRING='Blah:Blah' ; export QUIERY_STRING ;cd > /path/to/script ; perl script.pl > 4. */2 * * * * QUERY_STRING='Blah:Blah' ; export QUIERY_STRING ; > perl /path/to/script.pl > 5. */2 * * * * QUERY_STRING='Blah:Blah' ; export QUIERY_STRING ; > /path/to/script.pl > 6. Writing a Perl script that issue system(`QUERY_STRING='Blah:Blah' > ; export QUIERY_STRING ;cd /path/to/script ; ./script.pl') > > None of these work but all of these if put into sh or bash run fine. > > > > What I get back via a cronemail is variable > > But one thing is constant it always in one way or another say file > not found > > Either sh cant find it or perl cant or bin/sh couldn't find it. > > > > Anyhelp here would be awesome > > > > And 0755 is the permissions and owner ship of the file it to the user > running the cron. -- Wayne Walker www.broadq.com :) Bringing digital video and audio to the living room -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/austin/attachments/20030629/f2effd55/attachment.htm From majcher at majcher.com Sun Jun 29 23:13:58 2003 From: majcher at majcher.com (majcher@majcher.com) Date: Mon Aug 2 21:23:19 2004 Subject: APM: Crontab problem In-Reply-To: <00db01c33ebc$8007bb70$6601a8c0@monster> (David@starlightmedia.net) References: <00db01c33ebc$8007bb70$6601a8c0@monster> Message-ID: <200306300413.h5U4DwDe014775@majcher.com> "David Murphy" : : :So I made my cron read like this: Man, that's just way too much information. -- DVS The only good Bug is a dead Bug. From David at starlightmedia.net Sun Jun 29 23:35:37 2003 From: David at starlightmedia.net (David Murphy) Date: Mon Aug 2 21:23:19 2004 Subject: APM: Crontab problem In-Reply-To: Message-ID: <00eb01c33ec1$115db530$6601a8c0@monster> If this was the case it would run in normal console mode just fine by going the diredtory of the script and typing ./gal.cgi I think I got it working with Waynes help..... Must have been some env variable the ppl at my server company didn't input... but its working now... Thank goodness The last error I had was actually due to the cron's being to quick and freaking out DBI in the submtion script for my tgp! I feel silli but my cron is running now thank goodness..... -----Original Message----- From: David Bluestein II [mailto:dbii@mudpuddle.com] Sent: Sunday, June 29, 2003 11:27 PM To: David Murphy Subject: RE: APM: Crontab problem >/bin/sh: line 1: ./gal.cgi > >: No such file or directory Check your first line, looks like your path to perl is wrong. From the command line, run: which perl That will tell you what perl you should be using in the #!/...../perl line. David ---------- David H. Bluestein II President & Lead Developer dbii@interaction.net ii, inc. http://www.interaction.net - Specializing in Designing Interactive Websites - - and Searchable Internet Databases -