Help for this page

Select Code to Download


  1. or download this
    @a2 = split /(abc)/, "uno abc dos";
    ... some use of $1 ...
    
  2. or download this
    #! /usr/bin/perl
    
    ...
    
    print "@a1\n"; # prints "uno   dos", as expeted
    print "@a2\n"; # prints "uno  abc  dos" !!! :(