Help for this page

Select Code to Download


  1. or download this
    ($match) = $var =~ /regex/;
  2. or download this
    #!/usr/bin/perl -w
    use strict;
     
    ...
    @matches = /(\w+)/g;
    print join('|', @matches), "\n";
    # prints one|two|three|four|five