Help for this page

Select Code to Download


  1. or download this
    open my $out, '>', 'new_file' or die $!;
    
  2. or download this
    my $runTest = 'sydney,delhi,NY,Russia';
    print {$out} $runTest =~ tr/,/\n/r;
    
  3. or download this
    my @lines = split /,/, $runTest;