Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Get the line number of current cursor positionby Samy_rio (Vicar) |
on Sep 07, 2006 at 06:35 UTC ( [id://571616]=perlquestion: print w/replies, xml ) | Need Help?? |
Samy_rio has asked for the wisdom of the Perl Monks concerning the following question: Hi monks, I need to get line number of current cursor position in a file which is opened in any editor like "UltraEdit". Another thing is I need to get the selected text in a variable. I have tried as:
I can select the text but I can't store it in a variable. My questions are: Thanks in advance. Regards, eval"print uc\"\\c$_\""for split'','j)@,/6%@0%2,`e@3!-9v2)/@|6%,53!-9@2~j';
Back to
Seekers of Perl Wisdom
|
|