[Dancer-users] Problem with an open filehandler within the route
Thomas Maier
hayzer at gmail.com
Tue Feb 15 16:54:24 CET 2011
On 2/15/2011 5:09 PM, Alexis Sukrieh wrote:
> Le 15/02/2011 16:02, Flavio Poletti a écrit :
>> You are not checking whether the open() is successful or not (unless
>> you're using autodie or Fatal, which is not shown here). I suspect
>> this might have something to do with your error.
>
> Indeed,
>
> It is not a Dancer-related issue (no reason it could be). Just check the
> return value of open() and you'll see what's going on ;)
I checked. And it is now: Dancer 1 - me 0.
It was very unwise not to check this before I bothered you all.
Sorry.
Thomas
More information about the Dancer-users
mailing list