Yitzchak Scott-Thoennes wrote: > chomp(my $tmp=$x); my @lines=split /\n/,$tmp,-1
This one fails for the case $x = "\n"; @lines should contain one empty element, but the code above contains none. /-\ http://greetings.yahoo.com.au - Yahoo! Greetings - Send some online love this Valentine's Day.