Help for this page

Select Code to Download


  1. or download this
    my $VALUE = "0\t" x 10; ## array of 0s and I having \t because I want 
    +a delimited outputfile
    chop($VALUE);
    ...
    substr($VALUE, 2,2) =~ s/0/$signal/g; ## want to make changes at index
    + 2 and 3
    print "Second statement: ",$VALUE,"\n";
    
  2. or download this
    ******Results:*******
    
    First statement: 0    0    0    0    0    0    0    0    0    0    
    Second statement: 0    0.5    0.845    0    0    0    0    0    0    0
    +    0