Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    ...
    my $text = 'name => "foo", fav.num => 3';
    my @text = split /($VALUE)/ => $text;
    print Dumper \@text;
    
  2. or download this
    $VAR1 = [
      'name => ',
      '"foo"',
    ...
      'num => ',
      '3'
    ];
    
  3. or download this
    $VAR1 = [
      'name => ',
      '"foo"',
      ', fav.num => ',
      '3'
    ];