Re: reg exp speed?

2006-05-21 Thread Alan Campbell
hello folks, Thanks for all the advice. As several of you suggested, the winning ticket turned out to be flipping to line-by-line regex from an array-slurped input i.e. # look for potentially problematic dissassembly of the following form: - # 8004b980 003c34f4 STW.D2T1

Re: Help: Need PPT document for Perl Training

2006-05-21 Thread Japerlh
Thanks a lot for all you guys. On 5/20/06, Ken Foskey <[EMAIL PROTECTED]> wrote: On Fri, 2006-05-19 at 18:46 +0800, Japerlh wrote: > I am going to deliver a training about Perl programming to a group of persons. > I was wondering where I can get some PPTs to help to promote the training. There

Re: reg exp speed?

2006-05-21 Thread Dr.Ruud
Alan Campbell schreef: Please don't top-post. > # look for potentially problematic dissassembly of the following > form: - # 8004b980 003c34f4 STW.D2T1 A0,*B15--[1] > my @dis_lines = <>; > foreach my $ln (@dis_lines) { > if ($ln =~ m/.*ST[A-Z].*B15--.*[13579]]/) { >

Re: reg exp speed?

2006-05-21 Thread John W. Krahn
Alan Campbell wrote: > hello folks, Hello, > Thanks for all the advice. As several of you suggested, the winning ticket > turned out to be flipping to line-by-line regex from an array-slurped > input i.e. > > # look for potentially problematic dissassembly of the following form: - > # 8004b980

Converting a string to a filehandle

2006-05-21 Thread Wijaya Edward
Dear expert, Is there a way to do it? Module for it? Suppose I have this large string. my $string = 'foo bar qux woo etc etc'; I would like to convert that string as if it is stored inside a file, and bypassing the file creation step. For example, my $filehand

RE: Converting a string to a filehandle

2006-05-21 Thread Charles K. Clarkson
Wijaya Edward wrote: : I would like to convert that string as if it is stored : inside a file, and bypassing the file creation step. I think you want the IO::Scalar module. HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 Don't tread on

Looking for example Perl scripts to be used in Perl Training.

2006-05-21 Thread Japerlh
I am going to do a Perl training to a group of people. I was wondering from where I can get some sample Perl scripts to be used to demonstrate the basic usage of Perl. Thanks. -- Besh wishes, Japerlh -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: Looking for example Perl scripts to be used in Perl Training.

2006-05-21 Thread Jeff Pang
Looking for example Perl scripts to be used in Perl Training. > >I am going to do a Perl training to a group of people. >I was wondering from where I can get some sample Perl scripts to be >used to demonstrate the basic usage of Perl. >Thanks. I think both "Learning Perl" and "Perl Cook Book" are

Re: Converting a string to a filehandle

2006-05-21 Thread Xavier Noria
On May 22, 2006, at 4:44, Wijaya Edward wrote: Is there a way to do it? Module for it? Suppose I have this large string. my $string = 'foo bar qux woo etc etc'; I would like to convert that string as if it is stored inside a file, and bypassing the file creat

RE: Add values into Tunnel stream

2006-05-21 Thread Thomas Bätzler
luke devon <[EMAIL PROTECTED]> asked: > This is really about make a tunnel with another server. > When i googled i found a sample perl script that function very nicely. > http://migo.sixbit.org/pinkhas/nettunnel > it works actually. basically , i tested that with a WEB > Proxy . it proxied

Re: Looking for example Perl scripts to be used in Perl Training.

2006-05-21 Thread Chandru
please send it -Chandru. Jeff Pang wrote: Looking for example Perl scripts to be used in Perl Training. I am going to do a Perl training to a group of people. I was wondering from where I can get some sample Perl scripts to be used to demonstrate the basic usage of Perl. Thanks. I t