[ic] area tag encoding dash in sku to %2d
Peter
peter at pajamian.dhs.org
Sat Jun 10 12:27:18 UTC 2017
On 10/06/17 23:32, Mike Heins wrote:
>> GlobalSub <<<EOR
>
> I think you have one too many < in the here doc. Should work fine, though.
Oops, you're right. Score one for the typo monster.
> We could consider defining that string in Vend::Util like is done
> for HTML::Entities, but the above is the functional equivalent and not
> difficult to do.
I suppose you could also do:
GlobalSub <<<EOR
sub override_hacking {
package Vend::Util;
*hexify = \&HTML::Entities::encode_entities;
}
EOR
...or something like that. In fact, is there any reason why we should
keep using hexify when we are using encode_entities everywhere else?
Peter
More information about the interchange-users
mailing list