[jifty-devel] MyWeblog Ex Question

Jesse Vincent jesse at bestpractical.com
Tue May 30 15:52:09 EDT 2006




On Tue, May 30, 2006 at 02:32:54PM -0500, Scott T. Hildreth wrote:
> Hello. :-)
> 
> I installed Jifty and thought I would try the example in the tutorial.
> Well I am getting a Mason error,
> 
> Global symbol "$post" requires explicit package name at ....index.html line 10.
> 
> ...and the same error at line 11.   The post comes from the
> 
>  % while (my $post = $posts->next) {
>    <dt><%$post->title%></dt>
>    <dd><%$post->body%></dd>
>   % }
> 
> 
> loop, cut and pasted from the tutorial.  Is the $post going out of scope before entering 
> the loop?

The issue, is, I suspect a literal copy and paste, rather than a
transcription. Mason code needs to start in column 0


> 
> Sorry if this has been asked before, I was trying to find a searchable archive for the list, 
> but couldn't find one.
> 
>                       Thanks.
> 
> 
> -- 
> Scott T. Hildreth <shildreth at allantgroup.com>
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
> 

-- 


More information about the jifty-devel mailing list