in reply to Re: losing files when run from /
in thread losing files when run from /

Sorry, you might have wanted to write...
opendir DIR, $homedir or warn "Cannot readdir $homedir:$!\n";
...instead of $dh :)

{ \ ( ' v ' ) / }
( \ _ / ) _ _ _ _ ` ( ) ' _ _ _ _
( = ( ^ Y ^ ) = ( _ _ ^ ^ ^ ^
_ _ _ _ \ _ ( m _ _ _ m ) _ _ _ _ _ _ _ _ _ ) c h i a n o , a l b e r t o
Wherever I lay my KNOPPIX disk, a new FREE LINUX nation could be established

Replies are listed 'Best First'.
Re^3: losing files when run from /
by Aristotle (Chancellor) on Jul 27, 2005 at 20:34 UTC

    No, I wanted exactly what I wrote. What was wrong is that I had readdir DIR, which was supposed to be readdir $dh.

    Makeshifts last the longest.