Help for this page

Select Code to Download


  1. or download this
    ...
           If the right argument is an expression rather than a
    ...
           less efficient than an explicit search, because the pat-
           tern must be compiled every time the expression is evalu-
           ated.
    
  2. or download this
        $_ = 'this has a | pipe';
        @a = split /\|/;           # good
        print join(":", @a),"\n"; 
        @a = split "\|";           # oops
        print join(":", @a),"\n";