in reply to bsd_glob does not reset $!
Whoa, is this your real code?
print Dumper(\@list); print "POST ERR: ", Dumper($!); [download]
The first print causes system calls too, does it not?