parsing xml files for variables

2002-06-04 Thread Theuerkorn Johannes
Hi there, i got a bunch of XML files an just want to parse Them for a special trigger to load the Data after that trigger in a variable and later in my MySQL Database. I try like that: snip #looking for Trigger testsystem if

Re: parsing xml files for variables

2002-06-04 Thread drieux
On Tuesday, June 4, 2002, at 05:12 , Theuerkorn Johannes wrote: [..] I try like that: snip #looking for Trigger testsystem if (/testsystem\s/ .. /\/testsystem\s/) { if ( /^(.*)\s+/) {

Re: HTML in E-mail

2002-06-04 Thread John Brooking
--- David T-G [EMAIL PROTECTED] wrote: Scot, et al -- ...and then Scot Robnett said... % % I don't personally share the 'HTML e-mail is evil' philosophy. And even if ... snip ... (if, in fact, he hasn't solved this already; Camilo's email intimated that he had, which means we're

Re: Insertion of table causes syntax error-message

2002-06-04 Thread John Brooking
--- Richard Krause [EMAIL PROTECTED] wrote: I found out what the problem is. If you write $q-table({-border=undef}, #caption('When Should You Eat Your Vegetables?'), ... snip ... instead of print table({-border=undef}, caption('When Should You Eat Your

RE: Replacing with Regular expressions

2002-06-04 Thread Janek Schleicher
Scot Robnett wrote at Tue, 04 Jun 2002 05:13:13 +0200: $foo =~ s/\W*/_/g; http://www.oreilly.com/catalog/regex/ ... I want to allow only the a-z, A-Z, and 0-9 characters and I want to replace all others with _ when writing the file to the server. Can you tell me what would

Re: HTML in E-mail

2002-06-04 Thread David T-G
John, et al -- ...and then John Brooking said... % % --- David T-G [EMAIL PROTECTED] % % ...and then Scot Robnett said... % % % % I don't personally share the 'HTML e-mail is evil' ... % intimated that he had, which means we're pursuing % the ultimate beating of % a dead horse here :-)

RE: HTML in E-mail

2002-06-04 Thread Nikola Janceski
To new perlmongers: I hope that whoever started this thread isn't the one who is send out the ugliest spam (HTML attached as a txt file) to mine and others accounts. I don't get much spam, but the only reason I do is because people on lists, such as this one, take the e-mails and spam them. I

Re: parsing xml files for variables

2002-06-04 Thread kris hoch
Johannes, I use xml files for configuration files at work. If you like I can share some of the code that I use. Let me know Kristofer Original Message Follows From: drieux [EMAIL PROTECTED] To: Theuerkorn Johannes [EMAIL PROTECTED] CC: cgi cgi-list [EMAIL PROTECTED] Subject: Re:

Re: HTML in E-mail

2002-06-04 Thread Christopher G Tantalo
Nikola Janceski wrote: To new perlmongers: I hope that whoever started this thread isn't the one who is send out the ugliest spam (HTML attached as a txt file) to mine and others accounts. I don't get much spam, but the only reason I do is because people on lists, such as this one, take

Re: HTML in E-mail

2002-06-04 Thread David T-G
Nikola -- ...and then Nikola Janceski said... % % To new perlmongers: % % I hope that whoever started this thread isn't the one who is send out the % ugliest spam (HTML attached as a txt file) to mine and others accounts. I I just have to ask, because I'm a bit lost... Do you mean when you

RE: HTML in E-mail

2002-06-04 Thread Nikola Janceski
Even thought my e-mail is out on the web. It is not posted as an account to freely send advertising e-mails to. Spam is unsolicited e-mail so if I didn't sign up on website that EXPLICITLY states by disclosing your e-mail you agree to the Terms of our conditions, which the Terms would state some

Re: HTML in E-mail

2002-06-04 Thread David T-G
Nikola, et al -- ...and then Nikola Janceski said... % % Even thought my e-mail is out on the web. It is not posted as an account to % freely send advertising e-mails to. Spam is unsolicited e-mail so if I True, and unfair, but not the fault of the list. I thought I understood you to say that

Re: HTML in E-mail

2002-06-04 Thread fliptop
Nikola Janceski wrote: Poor me stuck with SH1Tty mail programs at work. kevin - will you do us all a favor and close this thread? it was never on topic, and has now degraded to a soapbox where a few subscribers are simply airing their opinions. all subscribers - please remember to keep

Re: HTML in E-mail

2002-06-04 Thread Christopher G Tantalo
fliptop wrote: best/worst whore in cleveland, or whatever, i dont know what kinda perl code you were working on there ;) ... but i found some of the conversation somewhat helpful.. like the SpamAssassin reference. i never heard of that.. now i can look into it.. --

RE: Replacing with Regular expressions

2002-06-04 Thread Scot Robnett
He said he wanted to replace all nonalphanumerics, and I was assuming that meant white space as well, regardless of where in the string it is located. Scot -Original Message- From: Janek Schleicher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 8:51 AM To: [EMAIL PROTECTED]

Re: AW: parsing xml files for variables

2002-06-04 Thread kris hoch
Johannes, I have copied and pasted some same code and data. Look for the Sample Code and Sample Data in this message. Let me know if this helps Kristofer = -[ Sample Code file (TestSystem.pl)

RE: HTML in E-mail

2002-06-04 Thread Fred Sahakian
This solved it, thank you very much. I didnt know this was such a religious topic. Camilo Gonzalez [EMAIL PROTECTED] 06/03/02 03:37PM Fred, Thank Jah this problem was recently successfully solved! Try this: open(MAIL,|$mailprog -t); print MAIL Content-Type: text/html\n; print MAIL To:

Re: HTML in E-mail

2002-06-04 Thread fliptop
Christopher G Tantalo wrote: fliptop wrote: best/worst whore in cleveland, or whatever, i dont know what kinda perl code you were working on there ;) .. but i found some of the conversation somewhat helpful.. like the SpamAssassin reference. i never heard of that.. now i can look into

[ADMIN - THREAD CLOSED] Re: HTML in E-mail

2002-06-04 Thread Kevin Meltzer
I was just catching up on this thread, and see that it has spiraled out of the realm of 'on topic' for this list. Please consider this thread closed, and take it off-list if needed. Thanks for your cooperation. Cheers, Kevin -- [Writing CGI Applications with Perl - http://perlcgi-book.com] If

Re: HTML in E-mail

2002-06-04 Thread David T-G
Fred -- ...and then Fred Sahakian said... % % This solved it, thank you very much. Good deal. For the purposes of the list, that's the important part. Did you use the headers as written or construct or proper MIME structure in your message? % % I didnt know this was such a religious

The Cannons of True Faith

2002-06-04 Thread drieux
On Tuesday, June 4, 2002, at 07:59 , David T-G wrote: [..] % % I didnt know this was such a religious topic. BWA HA HA HAHAHA! :-) one of the problems I keep bumping my head into is that fundamentally perl is a Kult - and as such tends to not always be a well organized kult - since they are

Re: The Cannons of True Faith

2002-06-04 Thread fliptop
drieux wrote: one of the problems I keep bumping my head into is that fundamentally perl is a Kult - and as such tends to not always be a well organized kult - since they are never clear as to which are the true cannons of the faith and which are the apostate ramblings of the merely

Fwd: Content Warning from MailScan to Mail-Sender!

2002-06-04 Thread drieux
can one of the more elegantly enabled in our world explain to me why and/or how HAHAHA became a 'restricted content' I am aware that the American Attorney General has turned up the heat on the pro-terrorist fellow travellor types who are not fully backing the war against evil -

RE: Content Warning from MailScan to Mail-Sender!

2002-06-04 Thread Camilo Gonzalez
I think 'HAHAHA' is one of the subject lines used by a virus. -Original Message- From: drieux [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 11:15 AM To: cgi cgi-list Subject: Fwd: Content Warning from MailScan to Mail-Sender! can one of the more elegantly enabled in our

Re: The Cannons of True Faith

2002-06-04 Thread David T-G
drieux, et al -- ...and then drieux said... % % On Tuesday, June 4, 2002, at 07:59 , David T-G wrote: % [..] % % % % I didnt know this was such a religious topic. % % BWA HA HA HAHAHA! :-) % ... % % Is there an official site dedicated to the True Cannons of Perl? Don't know about that, I'm

Re: Perl Cgi and Majordomo - Please Help!

2002-06-04 Thread zentara
On Mon, 3 Jun 2002 15:12:20 -0400 , [EMAIL PROTECTED] (Anya Miretsky) wrote: Hi I am trying to write a perl cgi script that interfaces with Majordomo, I would like to create a mailing list in Majordomo programatically (i.e. have Perl read a through some email addresses strored in a mysql

RE: Content Warning from MailScan to Mail-Sender!

2002-06-04 Thread Eric Peers
Take a look at http://www.symantec.com/avcenter/venc/data/w95.hybris.gen.html for details about the worm. Sadly, its no laughing matter. Eric -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Content Warning from MailScan to Mail-Sender!

2002-06-04 Thread David T-G
Eric, et al -- ...and then Eric Peers said... % % Take a look at % http://www.symantec.com/avcenter/venc/data/w95.hybris.gen.html for details % about the worm. Sadly, its no laughing matter. *snicker* For those of us not using Windows it is :-) % % Eric HAND :-D -- David T-G

Re: Content Warning from MailScan to Mail-Sender!

2002-06-04 Thread drieux
On Tuesday, June 4, 2002, at 09:33 , David T-G wrote: Eric, et al -- ...and then Eric Peers said... % % Take a look at % http://www.symantec.com/avcenter/venc/data/w95.hybris.gen.html for details % about the worm. Sadly, its no laughing matter. *snicker* For those of us not using

Re: The Cannons of True Faith

2002-06-04 Thread drieux
On Tuesday, June 4, 2002, at 09:19 , David T-G wrote: [..] % % Is there an official site dedicated to the True Cannons of Perl? Don't know about that, I'm afraid. I'd love to see some analysis of best practices but, [..] I am intentionally avoiding fliptops remarks on the ground that i

Re: The Cannons of True Faith

2002-06-04 Thread Christopher G Tantalo
drieux wrote: On Tuesday, June 4, 2002, at 09:19 , David T-G wrote: [..] % % Is there an official site dedicated to the True Cannons of Perl? Don't know about that, I'm afraid. I'd love to see some analysis of best practices but, [..] I am intentionally avoiding fliptops remarks

Re: The Cannons of True Faith

2002-06-04 Thread Kevin Meltzer
My function is let t(x) be a boolean function that established if posts are on topic to the list at hand. Can we please keep posts topical, and useful to people who are beginners at CGI, please? If your post isn't helping a beginner, DO NOT SEND IT. Posts are getting

RE: Replacing with Regular expressions

2002-06-04 Thread Janek Schleicher
Scot Robnett wrote at Tue, 04 Jun 2002 16:46:26 +0200: He said he wanted to replace all nonalphanumerics, and I was assuming that meant white space as well, regardless of where in the string it is located. Scot $foo =~ s/\W*/_/g; http://www.oreilly.com/catalog/regex/

Re: Perl Cgi and Majordomo - Please Help!

2002-06-04 Thread drieux
On Tuesday, June 4, 2002, at 09:26 , zentara wrote: On Mon, 3 Jun 2002 15:12:20 -0400 , [EMAIL PROTECTED] (Anya Miretsky) wrote: Hi I am trying to write a perl cgi script that interfaces with Majordomo, I would like to create a mailing list in Majordomo programatically (i.e. have Perl

Dynamically creating submit buttons

2002-06-04 Thread Jason Ostrom
To those in the know, I have a couple of questions about the best way to create dynamic form elements. I have a script that queries a database and dynamically generates a table, as shown below in the code. What I am attempting to do is have a form element off to the right of each Table Row that

Re: The size of the uploaded file

2002-06-04 Thread Octavian Rasnita
Hi, it is off topic. I've seen more messages including this one that I am replying to, that have no text in it and I need to open an attachment to read the message. Can you tell me what is the problem? I have Windows 2000 and Outlook Express 6. Thank you. Teddy, [EMAIL PROTECTED] -

Why using use strict;

2002-06-04 Thread Octavian Rasnita
Hi all, I know why I should use use strict; but what happen if I use use strict; then if the code is OK, I delete this line? Shouldn't it work the same without this line if the code has no problems? Thanks. Teddy, [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

How to really limit the size of the uploaded file?

2002-06-04 Thread Octavian Rasnita
Hi all, I have made a script for uploading files and I don't know how to limit the size of the uploaded file. I've read that using a line like: $CGI::POST_MAX = 1024 * 1024 ; is more secure because the script will automaticly break when the file is bigger than this limit. And I have

subroutine or subroutine

2002-06-04 Thread Octavian Rasnita
Hi all, I've seen some subroutines are ran without the sign in front of the subroutine name, like: subroutine_name; instead of subroutine_name; Is it the same thing or there is a difference? Thank you. Teddy, [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: OT - attachments (was Re: The size of the uploaded file)

2002-06-04 Thread David T-G
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Octavian -- and then Octavian Rasnita said... % % Hi, it is off topic. Hello! % % I've seen more messages including this one that I am replying to, that have % no text in it and I need to open an attachment to read the message. % % Can you