Help for this page

Select Code to Download


  1. or download this
     eval{-d $handle};
     if($@ =~ /dirfd function is unimplemented/) {
    ...
    else {
      # it's safe to call -X on $handle
    }