Help for this page

Select Code to Download


  1. or download this
    s/./ do_smth( $& ) /eg;
    m/.(?{ do_smth( $& ); })(*FAIL)/;
    do_smth( $& ) while m/./g;
    
  2. or download this
    #!/usr/bin/perl
    
    ...
        (?{ print "\n" })
        (*FAIL)
        /x;
    
  3. or download this
    # The need of clear borders of the elements:
    ## Without borders (wrong):
    ...
        [zz-3]  [zz-abc]   [zz-zz]
        [79-3]  [79-abc]   [79-zz]
       [444-3] [444-abc]  [444-zz]
    
  4. or download this
    #!/usr/bin/perl
    
    ...
        (*FAIL)
        /x;
    print "\n";
    
  5. or download this
    for my (...) is experimental at <...>
    # With 'undef's:
    ...
    Without 'undef's -- no stepping out of an array:
    [1-2-3][abc-zz-79]
    [1-2-3][abc-zz-79]