Re: Line Numbers and...

2002-01-12 Thread morris_r
On Sat, 12 Jan 2002, Leon wrote: > - Original Message - > From: "Gary Hawkins" <[EMAIL PROTECTED]> > To: "Hewlett Pickens" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > > I've had the same problem on Windows 2000 and have been using edit.com to > find > > line numbers in my scripts, and it i

Re: Line Numbers and...

2002-01-12 Thread Leon
- Original Message - From: "Gary Hawkins" <[EMAIL PROTECTED]> To: "Hewlett Pickens" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Seems a good example of how every little question has some merit. You just > never know. I sure agree with you on this. > I've had the same problem on Windows

Re: Line Numbers and...

2002-01-12 Thread Briac Pilpré
In article <[EMAIL PROTECTED]>, Zentara wrote: > Hi, I found a nifty little perl module on Perlmonks.org. > It is called Filter::NumberLines > (...) > I can't find a url on the net for it, so here it is: Here's the URL of this filter: http://www.perlmonks.org/index.pl?node_id=125831 -- briac

RE: Line Numbers and Posting Archives

2002-01-12 Thread Hewlett Pickens
Rob, Thank you for the quick reply on the line numbers. You were right - the line number in the error message was in one of the "use xxx" modules. And my face is slightly red from embarrassment re the "how can line numbers be displayed": Your reply about using a different editor sent me to O'R

Re: Line Numbers and...

2002-01-12 Thread zentara
On Fri, 11 Jan 2002 14:47:08 -0800, [EMAIL PROTECTED] (Gary Hawkins) wrote: >Seems a good example of how every little question has some merit. You just >never know. > >So Hewlett's question gave me an idea. Just print my scripts to the screen >with line numbers added. My life is now better. S

RE: Line Numbers and...

2002-01-12 Thread Gary Hawkins
. If my script reaches 1 lines, well, nevermind. (XP's Notepad includes lines numbers if status bar is turned on). Gary > -Original Message- > From: Hewlett Pickens [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 11, 2002 12:34 PM > To: Hanson, Robert; Hewlett

Re: Line Numbers and...

2002-01-12 Thread Briac Pilpré
In article <000701c19bba$0af78320$1f58a9cb@S7575530>, Leon wrote: > { > my $count = 0; > open FILE, 'perl_script.pl' or die "$!\n"; > while (){ > $count++; > print "Line $count: $_"; > }; > close FILE; > }; You could even do that in a one-liner: $ perl -pe'printf("%03i : ", $.)'

RE: Line Numbers and...

2002-01-12 Thread ss004b3324
Gary Hawkins wrote: > navigation is slow, etc. There is probably a Windows port of vi, > but I prefer Notepad. Get yourself a copy of syn from: http://www.webattack.com/get/syn.shtml Extract from the About: This Program is a Fileeditor with Syntaxhighlight support for over 30 different Language

RE: Line Numbers and Posting Archives

2002-01-12 Thread Hanson, Robert
Read the error carefully, it may have been giving you a line number in the Time::Local module in your script, and it will tell you that. Often you will get the line in the module that had the error as well as the line number in your script that called the subroutine in the module. As for tracki

RE: Line Numbers and Posting Archives

2002-01-12 Thread Jim Millard
Hewlett, If you are on a *nix system try: a2ps -E -g -n script.pl This will print line numbers two pages per page with highlight formatting. Very nice. -- Regards, Jim Millard Sr. Software Engineer Pioneer Digital Technologies, Inc. == I think they use