[Petal] [rfc] if: ... then: ... else: ... modifier
    Steve Purkis 
    spurkis at mkdoc.com
       
    Fri Sep 19 15:27:59 BST 2003
    
    
  
On Friday, September 19, 2003, at 02:20  pm, William McKee wrote:
> On Fri, Sep 12, 2003 at 02:58:39PM +0100, Steve Purkis wrote:
>>> However, this example brings up a problem I had with the date: 
>>> modifier
>>> where I was trying to pass in a string to be used as the separator.
>>> Jean-Michel claims I should be able to do it, but I did not have any
>>> luck.
>>
>> You should be able to do it with 'string: foo', no?
>
> I get the following parsing error:
>
> Error: Cannot access hash at '' with parameters (near $date3 string:-)
> at /usr/local/share/perl/5.6.1/Petal/Hash/Var.pm line 101
>
>
> You can try it yourself by modifying line 14 in t/data/basic.html and
> uncommenting line 89 in t/02__default.t.
Hmm..  at a glance I'm not sure why this is happening, and I won't have 
time to look into it today unfortunately.  Have you run it through the 
debugger?
-Steve
    
    
More information about the Petal
mailing list