[Petal] Documentation question/suggestion

Jean-Michel Hiver jhiver@mkdoc.com
Tue, 6 Aug 2002 10:37:12 +0100


> First a question--how does one use the new string: modifier? I didn't see 
> that documented.

Doh...

<foo petal:attributes="someAttribute string:This is $cool
                       and this is ${cool/too 'I''tell' YOU}">

Replaces:

$cool                       => $hash->{'cool'}
${cool/too 'I' 'tell' YOU}  => $hash->{'cool'}->too ('I', 'tell', $hash->{YOU}) 

> to:
>   <?petal:condition name=":false user/is_birthay"?>
>     What?! It's not your birthday?
>     A very merry unbirthday to you!
> 
> Gotta love Lewis Carrol!

I don't know it, but why not :-)


> PS- I appreciate the mention in the docs <g>. I notice it's been changing 
> lately <g>.

You're welcome, your help is useful!

Cheers,
-- 
IT'S TIME FOR A DIFFERENT KIND OF WEB
================================================================
  Jean-Michel Hiver - Software Director
  jhiver@mkdoc.com
  +44 (0)114 255 8097
================================================================
                                      VISIT HTTP://WWW.MKDOC.COM