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
Download (untitled) / with headers
text/plain 257b
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);
Download (untitled) / with headers
text/plain 116b
Hi, given I have little time and lvalue subs are still experimental in Perl 5, I won't be doing this. Cheers, Jeff.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.