I'm not able to change the dir in perl.
#!/usr/bin/perl
use strict;
my $dir=`date +%d%b%Y`;
#the output of $dir is 13Feb2014 that directory is already inside "/mnt/Recordings/Inbound/Kinrep/"
my $path = "/mnt/Recordings/Inbound/Kinrep/$dir";
chdir($path) or die "Cant chdir to $path $!";
whenever i'm executing my program i'm not able to change the directory i got following error.
Cant chdir to /mnt/Recordings/Inbound/Kinrep/13Feb2014
No such file or directory at Ftp_transfer_197.pl line 17.