Help for this page

Select Code to Download


  1. or download this
    use strict;
    
  2. or download this
        select directory1;
         print "$path\n";
    
  3. or download this
    print directory1 "$path\n";
    
  4. or download this
    open Contract1, "<./$_ \n";   # What's with the space and new-line?
      my @lines = <Contract1>;
      close Contract1;
      my $contents = join "", @lines;
    
  5. or download this
        open Contract1, '<', $_ or die "Unable to open $_: $!";  
        local $/ = undef;            # slurp mode
        my $contents = <Contract1>;  # Hope the files are small! 
        close Contract1;
    
  6. or download this
      @all = undef;
      shift @all;
    
  7. or download this
       my @all;