[Purdue-pm] help!

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


I guess next step is to issue prints in the while and watch what happens as
I load the page.  But man, that's gonna be a lot of output :)



On Wed, May 16, 2012 at 12:57 PM, Bradley Andersen <
bradley.d.andersen at gmail.com> wrote:

> 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/994a43c6/attachment.html>


More information about the Purdue-pm mailing list