>>>>> "RLS" == Randal L Schwartz <[email protected]> writes:
>>>>> "Uri" == Uri Guttman <[EMAIL PROTECTED]> writes:
Uri> @{$self->{templates}}{ keys %{$tmpls} } =
Uri> map ref $_ eq 'SCALAR' ? \"${$_}" : \"$_", values %{$tmpls} ;
Uri> discuss amongst yourselves. topics include: what does it do?
RLS> Uh, it throws a lot of warnings when values(%$tmpls) has
RLS> non-references?
it will only throw an uninitialized warning if a value is undef. that is
a user data error and not my problem. :) if the data is another ref
type, it will just stringify that ref and again it is user data
error. maybe i will add some checking code in version .02 for those two
cases.
RLS> What do I win?
not much as you sent in an incorrect comment!
uri
--
Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org