We don't bite newbies here... much | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hello ovedpo15,
> Always when I run my tests I get: probably something related with tests path? Is $pack a full path or a relative one? Is a temp dir? Depending on the OS there are method to see who is maintaining the file open. I suppose you are on linux.. If not inspect also $^E to see last system error. Your open is better written (as already pointed) in the 3 form; this as the avantage to have the path at disposition when printing errors. You can also try to see if fileno returns something. Avoid also unnecessary parentheses
PS you have a typo in the title: correct it for future seekers L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS. In reply to Re: Failed to close file -- tests
by Discipulus
|
|