in reply to Re: utf8 is_valid on concat
in thread utf8 is_valid on concat
This produces catdoguse strict; package UNIVERSAL; use overload "." => \&concat; sub concat { my ($a, $b) = @_; return join "XXX", $a, $b; } package Foo; my $thing = "cat" . "dog"; print "\n\n\n$thing\n\n\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: utf8 is_valid on concat
by Juerd (Abbot) on Mar 16, 2008 at 01:29 UTC |