[Purdue-pm] help!

Bradley Andersen bradley.d.andersen at gmail.com
Wed May 16 09:57:24 PDT 2012


I had this in there earlier, sorry:
open(FH, "$base/helping$full.html") || die "\n\nCould not READ
$base/helping$full.html: [$!]\n\n";

it prints nothing :(

so i think it _is_ reading the files, but it is not reading them into the
tpl->params somehow?




On Wed, May 16, 2012 at 12:48 PM, Mark Senn <mark at ecn.purdue.edu> wrote:

>  > open(FH, "$base/m10.html");
>
> I'd debug this by starting with checking that the file
> got opened successfully:
>
>    my $fn = "$base/m10.html";
>    open FH, '<', $fn  or  die qq/Can't open "$fn" for input: $!.\nStopped/;
>
> -mark
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/purdue-pm/attachments/20120516/d0fa9fd9/attachment.html>


More information about the Purdue-pm mailing list