Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        ;
    
    print $msg, "\n";
    
  2. or download this
    my $msg
        = /a.*b/i     ?  'The string has an a, and also a following b'
    ...
        :                'String did not match'
        ;