Help for this page

Select Code to Download


  1. or download this
    perl -ne 'print if /Pattern1/ .. /Pattern2/' file1
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
       if (/Pattern1 .. /Pattern2/)
      {printf $log;}
    }
    
  3. or download this
    "Use of uninitialized value in pattern match (m//) at temp.pl line 11.
    +"