XML::Simple()...Add elements...
Hi all, Working with XML::*? I would like to locate a good code example or tutorial on XML::Simple() ( XML::Anything() really ) where you read in an XML file and then Locate\Delete\Update\ADD data into the xml doc...something like... - Read in an XML document. - Locate and element. - Delete/Update that element...maybe even Add an element. - Write the XML document back out. I found a tutorial on O'Reilly, but it's more high-level, pretty much re-hashing what's in the actual perldoc stuff. The perldoc stuff shows you how to work with each individual method, but there is nothing on how to work the two methods together. To be honest, not sure I'm even using the right XML module...XML::Simple(). I'm out on Perl Monks right now, swimming thru the forums and docs there, but thought I'd drop a question onto this list... tia, Adym Lincoln Edgewater Technology, Inc. [EMAIL PROTECTED] . Can we fix it? Yes we can! . This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication may contain information that is protected from disclosure by applicable law. If you are not the intended recipient, or the employee or agent responsible for delivering this communication to the intended recipient, be advised that you have received this e-mail in error and any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you believe that you have received this e-mail in error, please immediately notify Edgewater Technology by telephone at (781) 246-3343 and delete the communication from all e-mail files. ___ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Getting the full cgi parameter string...
I need to retrieve the full parameter string passed to a cgi to then do a URL-decoding on it. Pls help!! Seth King Programmer Analyst Hewlett-Packard Boise Site The Network Group 396-3645 ___ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: Getting the full cgi parameter string...
Title: RE: Getting the full cgi parameter string... Seth, Do you need the get or the post? If you want to output all the variables that become available when you run a script in cgi just parse the %ENV hash that should give you all the info you need. -Original Message- From: KING,SETH (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] Sent: Monday, October 27, 2003 12:19 PM To: '[EMAIL PROTECTED]' Subject: Getting the full cgi parameter string... I need to retrieve the full parameter string passed to a cgi to then do a URL-decoding on it. Pls help!! Seth King Programmer Analyst Hewlett-Packard Boise Site The Network Group 396-3645 ___ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: Getting the full cgi parameter string...
snip : I need to retrieve the full parameter string passed to a cgi to then do a : URL-decoding on it. Pls help!! : : Seth King : Programmer Analyst : Hewlett-Packard Boise Site : The Network Group : 396-3645 /snip Seth, Depending on how the string was posted, one of these should do it... if ($ENV{'REQUEST_METHOD'} eq GET) { $argsCGI = $ENV{'QUERY_STRING'}; } # end if() elsif ($ENV{'REQUEST_METHOD'} eq POST) { read(STDIN,$argsCGI,$ENV{'CONTENT_LENGTH'}); } # end elsif() Adym Lincoln Edgewater Technology, Inc. [EMAIL PROTECTED] . Can we fix it? Yes we can! . : -Original Message- : From: KING,SETH (HP-Boise,ex1) [mailto:[EMAIL PROTECTED] : Sent: Monday, October 27, 2003 1:19 PM : To: [EMAIL PROTECTED] : Subject: Getting the full cgi parameter string... : : : ___ : ActivePerl mailing list : [EMAIL PROTECTED] : To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication may contain information that is protected from disclosure by applicable law. If you are not the intended recipient, or the employee or agent responsible for delivering this communication to the intended recipient, be advised that you have received this e-mail in error and any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you believe that you have received this e-mail in error, please immediately notify Edgewater Technology by telephone at (781) 246-3343 and delete the communication from all e-mail files. ___ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs