in reply to User-Defined Syntax, XPath, Tied Hashes, and Autovivification
my $code = q{ $x/html/head/title[0] = "Page Title"; $x/html/body/h1[0] = "Some text here"; }; $code =~ s|/(\w+)|->{$1}|g; eval $code; die $@ if $@;
------------ :Wq Not an editor command: Wq
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: User-Defined Syntax, XPath, Tied Hashes, and Autovivification
by Abigail-II (Bishop) on Feb 11, 2004 at 16:53 UTC | |
by etcshadow (Priest) on Feb 11, 2004 at 19:24 UTC |