in reply to does not move-- move ($file,"$kat/$folder_name/")
Maybe your current directory isn't set to where $file resides? (opendir doesn't automagically chdir...). It's probably easiest to just prepend the directory to the source path for move.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: does not move-- move ($file,"$kat/$folder_name/")
by bart (Canon) on Jan 15, 2008 at 14:09 UTC | |
by tannx (Acolyte) on Jan 15, 2008 at 14:21 UTC | |
by almut (Canon) on Jan 15, 2008 at 14:21 UTC |
In Section
Seekers of Perl Wisdom