Howdy Chisel,

Thanks for the input!  The $$text_ref may have been too obvious.  I have
used [EMAIL PROTECTED] and $%text_ref to dereference arrays and hashes before but
had never thought of using "$$text_ref".

As it turns out, after I got back yesterday of several days off things
worked fine.  I apparently just needed to reboot; go figure and on a windows
box too! ;>/  I am going to reboot my development box every afternoon from
here on out.

Thanx Again, Jeff.

>> YA?: What does the "$$" mean in $$test_ref.

>$text_ref is a reference to a scalar, so to get the text itself you need
>to dereference it.
>It's proably easier to understand if you think of it as ${$text_ref}.
>It's the same as you'd do with hash an array references.

>> my $filter = sub {
>>      my $text_ref = shift;
>>      $text_ref =~ s/!!!ZAP_(.*?)!!!/<TMPL_$1>/g;
>>      $$text_ref;
>>      ## Also Tried Adding "return $text_ref;" - No Difference.
>> };


CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information, the disclosure of which is governed by
applicable law.  If the reader of this e-mail is not the intended
recipient(s),  any unauthorized review, use, disclosure or distribution is
prohibited.  If you have received this message in error, please contact the
sender by reply e-mail and destroy all copies of the original message
immediately.


-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code=104
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to