Help for this page

Select Code to Download


  1. or download this
    index($buf, "/DATA_String/") > 0
    
  2. or download this
    index($buf, "/DATA_String/") > -1
    
  3. or download this
    $ perl -E '
        my @strings = qw{
    ...
            say "-" x 40;
        }
    '
    
  4. or download this
    ----------------------------------------
    $string[no_data_string]
    ...
    $pos[-1]
    index() TRUE
    ----------------------------------------
    
  5. or download this
    ...
    use strict;
    ...
    my ($sock, $new_sock, $buf );
    $sock = IO::Socket::INET::->new(...);
    ...