Help for this page

Select Code to Download


  1. or download this
    my ($a, $b, $c) = $temp =~ m/(\w+)\n/g;
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    my ($a, $b, $c) = split(/\n/, $temp);
    
    print "$a:$b:$c\n";
    
  3. or download this
    my @list = split(/\n/, $temp);