Help for this page

Select Code to Download


  1. or download this
    #!perl
    use strict;
    ...
    {
        print "<0>" . $line ."\n";
    }
    
  2. or download this
    <0>some
    .
    .
    <0>some
    <0>some
    
  3. or download this
    #!perl
    use strict;
    ...
    
        print "<1>" . $line ."\n";
    }
    
  4. or download this
    <1>some
    <1>random
    ...
    <1>to
    <1>test
    <1>this
    
  5. or download this
    while ($data =~ m/^(.*)$/gm)
    {
        print "<2>" . $1."\n";
    }