[ic] interpolate

Mike Heins mike at perusion.com
Sat Mar 25 13:32:53 EST 2006

Quoting Jon (prtyof5 at attglobal.net):
> This   UserTag foobar HasEndTag 1
> allows grabbing body data in this form
> [foobar foo="aaa" bar="bbb" baz="ccc"] Tag body [/foobar]
> my ($foo,$bar,$baz,$body,$opt) = @_;

Slight problem with that -- it is actually:

    my($foo, $bar, $baz, $opt, $body) = @_;

(Whitespace doesn't cost money.)

> Is the variable $body specific  ?

No -- Perl applies in this case. The arguments are passed to
the subroutine.
> In other words could $Body or $MyStuff be used in place $body ?

Yes, whatever you happen to name it.

> Is it because of adding 'HasEndTag 1' to the UserTag definition
> that you can grab the 'Tag Body' information ?

Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <mike at perusion.com>

In character, in manners, in style, in all things, the supreme excellence
is simplicity. -- Longfellow

More information about the interchange-users mailing list