CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
Perl help


New User

May 17, 2007, 4:25 AM

Post #1 of 1 (738 views)
Perl help Can't Post


Can any one help me with using the package/module. I am using module also, i am getting the following error at this line in

my $dh = IO::Dir::Recursive->new('C:\Perl\Scripts\Testing_directory\New Folder');
print "$_\n" while $dh->read(); nothing is read here, so nothing is printed.

tie my %dir, 'IO::Dir::Recursive', 'C:\Perl\Scripts\Testing_directory\New Folder';
print $dir{subdir1}->{subdir2}->{file}->slurp(); error occurs on execution of this line which points to the following line in my($atime,$mtime) = ref($data)? @$data : ($data,$data);

Can any one tell me how does the above four lines actually work. I am able to get the directory structure into %dir but can slurp() the files.



Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives