[Koha-devel] how to print value of variable in perl file.

Owen Leonard oleonard at myacpl.org
Mon Jul 27 03:31:12 CEST 2009


> In a .pl perl file, you can do:
> warn "var1: $var1";
>
> Then view the page in a browser and check the ErrorLog to see the output.

...which is great if you're trying to debug something, not so great if
you're trying to output new information to the template.

Maybe it would be good to tell us what information you're trying to
display? Perhaps it's a change that others would benefit from too?

  -- Owen

-- 
Web Developer
Athens County Public Libraries
http://www.myacpl.org



More information about the Koha-devel mailing list