use warnings; $dir = "c:/folder/*";my @files = glob( $dir ); foreach (@files ){ print $_ . "\n";}
i am trying to read windows directory using above code but it gives errors in recognising tthe directory path. please help.
use warnings; $dir = "c:/folder/*";my @files = glob( $dir ); foreach (@files ){ print $_ . "\n";}
i am trying to read windows directory using above code but it gives errors in recognising tthe directory path. please help.