Advertisement
Guest User

Untitled

a guest
May 18th, 2012
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.52 KB | None | 0 0
  1. Undefined subroutine &Mojo::Template::SandBox::stash called at template "index.html.epl" from DATA section line 2, near "".
  2. 1. 
  3. package Mojo::Template::SandBox; use Mojo::Util;no warnings 'redefine';sub _escape {  return $_[0] if ref $_[0] eq 'Mojo::ByteStream';  no warnings 'uninitialized';  Mojo::Util::xml_escape "$_[0]";}use Mojo::Base -strict; sub { my $_M = ''; ; do { $_M .= "\<html\>\<body\>oi\n";
  4. 2. 
  5. $_M .= scalar stash('brands'); ;$_M .= "\n";
  6. 3. 
  7. $_M .= "\n";
  8. 4. 
  9. $_M .= "\<\/body\>\<\/html\>\n";; $_M; } };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement