This is a fairly simple question. I need a perl script that takes in the following parameters:
scriptname.pl <file.txt> <starting char. index> <ending char. index>
I need the script to print out the index number and the character that is in that place in the file.
For example, if I have a file with the following composition:
a4poiuasdlkjga g23098u>. d;jeopaiu4095u4032q58';ejrE kj;lkj ao0897wu987
$> scriptname.pl file.txt 20 34 should return the following output:
------->Entire String:98u>. d;j
Thanks in advance,