[Dancer-users] Problem with an open filehandler within the route

Alexis Sukrieh sukria at sukria.net
Tue Feb 15 16:09:29 CET 2011


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 ;)

-- 
Alexis Sukrieh


More information about the Dancer-users mailing list