http://www.perlmonks.org?node_id=11128155


in reply to Re^4: Can't figure out how to include LAST member of the array
in thread Can't figure out how to include LAST member of the array

perlynewby the above comment was not directed to you.

Note that $i <= ($End-1) can be simplified to $i < $End and also you can use single quotes inside double quotes so that you don't have to escape double quotes print "aaa\"xx\"zzz\n"; print "aaa'xx'zzz\n";

I hope Perl helps you automate