in reply to Whats its bad here?
use strict; use warnings;
check result codes and $!
At least:
mkdir "c:\\datos_dms\\$vTemp2" # NOTE: \n is eliminated at the +end of string! or warn "No se ha podido crear el directorio $vTemp2: $!\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Whats its bad here?
by Sombrerero_loco (Beadle) on Sep 25, 2009 at 12:40 UTC | |
by Corion (Patriarch) on Sep 25, 2009 at 12:43 UTC | |
by Sombrerero_loco (Beadle) on Sep 25, 2009 at 12:44 UTC | |
by Corion (Patriarch) on Sep 25, 2009 at 13:07 UTC | |
by toolic (Bishop) on Sep 25, 2009 at 13:05 UTC |
In Section
Seekers of Perl Wisdom