Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use 5.016;
    use Data::Dumper;
    ...
    my @arr = split /(;;)/,$text;   # capture delimiter
    
    say Dumper @arr;
    
  2. or download this
    C:\> 1036247.pl
    $VAR1 = 'blah blah ';
    $VAR2 = ';;';
    ...
    $VAR7 = ' yada yada ';
    $VAR8 = ';;';
    $VAR9 = ' etc etc';