Help for this page

Select Code to Download


  1. or download this
    String found where operator expected at G:\x.pl line 15, near ""Y" "\n
    +""
        (Missing operator before  "\n"?)
    ...
    Global symbol "$AAGCTT" requires explicit package name at G:\x.pl line
    + 14.
    syntax error at G:\x.pl line 15, near ""Y" "\n""
    Execution of G:\x.pl aborted due to compilation errors.
    
  2. or download this
    my $substring = "AAGCTT";
    read $fhCharacters, $data, length($substring);
    if ( $data eq $substring) ) {