You are here:
Any question relating to Perl including its internals, data structures, speed, memory usage, syntax, version changes, extra CPAN modules, code standards, code cleanup, or just silly problems.
I have been writing Perl code professionally for almost 10 years. I have modules on CPAN, have Perl code that's included in the latest versions of Redhat, Debian, etc. I have done professional Perl work for many household names including Ticketmaster, Interflora, and allbookstores.com.
Only work experience and a love of all things Perl.
| User | Date | K | C | T | P | Comments |
|---|---|---|---|---|---|---|
| Ms.Ranjan | 11/19/09 | 10 | 10 | 10 | 10 | thanks a lot |
| Petar | 11/17/09 | 10 | 10 | 10 | 10 | thanks |
| Mark | 10/19/09 | 10 | 10 | 10 | 10 | Thanks Justin :) |
| Larry | 10/13/09 | 10 | 10 | 10 | 10 | Thank you for the quick response. Have ..... |
| Matthew | 09/22/09 | 10 | 10 | 10 | 10 |
Hi Petar, When you do that, perl things you're ending the regular expression at </ and then you're giving it flags of b> and starting a new command of /ig. Which is of course, invalid syntax. The
Hi Filzah, You'll need to run an actual webserver to run the CGI. If it's a Perl scripts, you'll need to download a perl interpreter for windows. Apache is open source and free, so you could install
Hi Mark, Your best bet is to use the CGI script, which will parse it for you. Then, you'd do something like. my $q = new CGI; my @cds = $q->param( 'CD' ); print $q->header(); print "First
Hi Matthew, Yes, you'll likely need a foreach or something like that to traverse the data. Your best bet is to XMLin() the file with XML::Simple, and then use Data::Dumper to Dumper() the data structure
Hi Matthew, Opening and writing to lib/temp/$id.xml isn't very safe. I'd suggest something more like this: use strict; use warnings; use LWP::UserAgent; use XML::Simple; print "Content-Type:
Answers by Expert:

©2009 About.com, a part of The New York Times Company. All rights reserved.