Help for this page
Select Code to Download
Select
or
download this
my $pos_of_nl = rindex $str, "\n", 10-1;