dear all,
I am trying to open the directory called tmp..but it showing

No file or Directory found...

how i should give directoy name? weather i need to give path? only name is safficient?Thanks in advance



Code:
my $dir = '/tmp';

    opendir(DIR, $dir) or die $!;