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 dir.pm. 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.