From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> There's also the procedure in Mastering Regular Expressions:
> (lifted from The Perl Cookbook)
>
> [CODE FOLLOWS]
snip
> [END OF CODE]
> The assumption is the text based fields are enclosed in
> quotes (like your example)
As a matter of inte
# also fine
Which may or may not have helped :-)
Regards
Grant
=====
Grant McLean | email: [EMAIL PROTECTED] | Lvl 6, BP House
The Web Limited| WWW: www.web.co.nz| 20 Customhouse Quay
Internet Solutions | Tel:
From: Tim Musson [mailto:[EMAIL PROTECTED]]
> I like this option the best of the 3, but it is still hard to give to
> a non programing person and not expect them to mess up setting the
> vars...
>
> ie, => is what you separate things with, explaining which ' to
> use (' not `), end each parameter
elves 'hey that looks pretty easy
- why don't I take a deeper look'.
Regards
Grant
=====
Grant McLean | email: [EMAIL PROTECTED] | Lvl 6, BP House
The Web Limited| WWW: www.web.co.nz| 20 Customhous
From: Nigel Wetters [mailto:[EMAIL PROTECTED]]
> I don't know about how XML::Parser handles memory - last time
> I tried to use it to parse content.rdf from http://dmoz.org ,
> it soaked up all my memory, then bombed. Sometimes, you need
> to write your own parsing subs :)
A casual reader coul
x27;. In the unlikely
event that you do need to work with mixed content, I'd recommend
XML::XPath instead.
Regards
Grant
=========
Grant McLean | email: [EMAIL PROTECTED] | Lvl 6, BP House
The Web Limited| WWW: www
You probably want to use Perl's built in 'localtime'
function rather than system("date").
Here's an example:
my($day, $month, $year) = (localtime())[3,4,5];
my $a = sprintf("%04u-%02u-%02u", $year + 1900, $month + 1, $day);
Here's a walkthrough ...
You can get the current time using time(