[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] interpolate


Quoting Jon (suppressed):
> 
> 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 ?

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

In character, in manners, in style, in all things, the supreme excellence
is simplicity. -- Longfellow
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.