Re: Regular Expression

2004-11-22 Thread Renqilong
Just try the expression: $line =~ /.*]>(.*)<.*)/ On Mon, 22 Nov 2004 13:29:10 +0530 "Anish Kumar K." <[EMAIL PROTECTED]> wrote: > Hi > > Suppose there is a line > my $line= "[ class=\"[%um_class1%]\" [%um_master=createUserCourse%]>Create User]"; > > I wanted to get the text "Create User from t

Module Math::ODE?

2005-02-22 Thread Renqilong
Hi all, Has anybody here ever used the module Math::ODE? I dont quite understand the examples from CPAN. Where can I learn more about this module? Thanks -- Whatever you do will be insignificant,but the important is you do it! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: I think I need another regex...

2005-03-17 Thread Renqilong
On Thu, 17 Mar 2005 12:55:02 -0800 "John W. Krahn" <[EMAIL PROTECTED]> wrote: > Chris Knipe wrote: > > Lo all, > > Hello, > > > I tried to do this with split(), but it's not working good at all > > > > The string: > > interface=something very long with spaces and all > > mac-address=00:02:

Re: I think I need another regex...

2005-03-17 Thread Renqilong
Got it!Thanks a lot,John! On Thu, 17 Mar 2005 20:38:21 -0800 "John W. Krahn" <[EMAIL PROTECTED]> wrote: > Renqilong wrote: > > On Thu, 17 Mar 2005 12:55:02 -0800 > > "John W. Krahn" <[EMAIL PROTECTED]> wrote: > > > >>Chris Knipe

Re: zcat

2004-10-21 Thread Renqilong
Try this: put the output of the shell command 'zcat -c $filename' to a variable and then write the value of the variable to another file On Fri, 22 Oct 2004 01:27:22 -0400 [EMAIL PROTECTED] wrote: > 'zcat -c $filename > out' -- Whatever you do will be insignificant,but the important is you

Re: Printing output to file

2004-11-12 Thread Renqilong
On Sat, 13 Nov 2004 11:42:13 +0800 (CST) Stephen Liu <[EMAIL PROTECTED]> wrote: > Hi folks, > > Instead of using following command printing output to > a file; > > $ perl AAA.pl > /pathto/name_of_file > > is it possible adding "print file function" to the > script > > 1) If YES > Please advise

Re: Searching tecknical documentation

2004-11-15 Thread Renqilong
This is just what you want: http://www.mamiyami.com/document/oreilly/ On Tue, 16 Nov 2004 11:02:18 +0800 (CST) Stephen Liu <[EMAIL PROTECTED]> wrote: > Hi folks, > > Please advise where can I find similar free > documentation on Internet, like; > > programming perl (O'reilly) > Learning Perl (