Help for this page

Select Code to Download


  1. or download this
        $_ = <FH>;
        chomp;
    ...
            my @file= split(/:/);
            %data = @file;
        }
    
  2. or download this
        my @file = <FH>;
        chomp @file;
        %data = split(/:/, join('', @file));
    
  3. or download this
        @file = join(":",%data);
        print FH @file;
    
  4. or download this
        my $file = join(":", %data);
        print FH $file;