Help for this page

Select Code to Download


  1. or download this
    $ perl -wle 'print "\."'
    .
    ...
    $ perl -wle 'print "\\."'
    \.
    # as a regex, matches a literal dot
    
  2. or download this
    my $regex = qr{\.}; # matches a literal dot
    
    my @chunks = split $regex, 'dot.delimited.string';