$in is not being opened.
That seems to be very unlikely. Based on dir(...), ->children and ->openr, I am guessing this is Path::Class. Its openr throws an error if the file couldn't be opened. Even if $in were undef, there would need to be a file named tocsvfd.xml in the same path as the script, otherwise XMLin would throw an error.
In reply to Re^2: Not a HASH reference
by haukex
in thread Not a HASH reference
by pdahal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |