Re: Help needed on font colour on the terminal.

2006-09-29 Thread Guo Remy
Great! it's as easy as use ANSI in telnet BBS! :-D many thanks! 2006/9/30, Rob Dixon <[EMAIL PROTECTED]>: Guo Remy wrote: > hi all, > i'm trying to display colourful font on the terminal of cmd.exe under > Windows. but as i checked the documentation of TERM::ANSICOLO

Help needed on font colour on the terminal.

2006-09-29 Thread Guo Remy
hi all, i'm trying to display colourful font on the terminal of cmd.exe under Windows. but as i checked the documentation of TERM::ANSICOLOR, it seems to not work with cmd.exe under Windows OS... do you have any idea to make this happen? Thanks in advance. :) regards, remy

Re: How to match multiple lines in a txt file?

2006-08-07 Thread Guo Remy
many thanks~~ it's quite clear in the perldoc and the problem is solved. :) 2006/8/7, John W. Krahn <[EMAIL PROTECTED]>: Guo Remy wrote: > hi all, Hello, > i'm now trying to match a number of lines in a txt file...for example, my > txt file is: > > ab

How to match multiple lines in a txt file?

2006-08-06 Thread Guo Remy
hi all, i'm now trying to match a number of lines in a txt file...for example, my txt file is: abc xyz fred wilma barney anything and my code is: while (<>) { if (/(fred\nwilma\n\barney)/) { print "$1\n"; } } but actually it returns nothing...i guess "while (<>)" reads the file