Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl 
    
    #************* File Header ******************************
    
  2. or download this
    use CGI qw/:standard/;
    
    my @dataWrite;
    my @dataRead;
    my $x;
    
  3. or download this
    my (@dataWrite, @dataRead, $x);
    
  4. or download this
    undef @dataWrite;
    undef @dataRead;
    
  5. or download this
    open (fileReadWrite,"../Rules1.txt");
    my @dataRead = <fileReadWrite>;
    
  6. or download this
    open $fileReadWrite, '<', '../Rules1.txt'
      or die $!;
    
  7. or download this
    foreach my $value1 (@dataRead) {
        push @dataWrite , $value1;
    }
    
  8. or download this
    @dataWrite=@dataRead;
    
  9. or download this
    print "Content-type: text/html\n";
    print("\n");