Help for this page

Select Code to Download


  1. or download this
    my @lines = split(/\n/, $datastring);
    foreach my $line (@lines) {
      my ($key, $val) = split(/=/, $line);
    }
    
  2. or download this
    my $name = 'Ben Kittrell';
    $name=~s/^(.+)\s(.).+$/\L$1$2/g;
    my $nick = 'tha' . $name . 'sta';