Skip Menu |

This queue is for tickets about the HTML-Tree CPAN distribution.

Report information
The Basics
Id: 64282
Status: rejected
Priority: 0/
Queue: HTML-Tree

People
Owner: Nobody in particular
Requestors: HMBRAND [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Feature request: $e->attr ("xxx") as lvalue sub
I'd like to see lvalue functionality in e.g. $e->attr (), so I could do $e->attr ("href") =~ s{external\.server\.com}{internal.proxy.local} or anything like that instead of my $href = $e->attr ("href"); $href =~ s{...}{...}; $e->attr ("href", $href);
Hi, given I have little time and lvalue subs are still experimental in Perl 5, I won't be doing this. Cheers, Jeff.