[Purdue-pm] help!

Bradley Andersen bradley.d.andersen at gmail.com
Wed May 16 10:00:33 PDT 2012


ok, just did that.

it is CLEARLY reading the entire file set in ;)



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

> 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/e08135be/attachment-0001.html>


More information about the Purdue-pm mailing list