Help for this page

Select Code to Download


  1. or download this
      if(-d BUS)
    
  2. or download this
      if ( $_ eq "BUS" and -d "$path/$_" ) # string equality test
      if ( /^BUS$/ && -d "$path/$_" )      # pattern match on $_
    
  3. or download this
    use strict; use warnings;
    my $path='/home/something/something/something';
    ...
            print "$_\n";
          }
      }