Re: doubt in quote-like operators

2006-08-06 Thread Prabu
anand kumar wrote: hi all, I could not understand clearly the functions qw(),qq(),qr(),qx(),q(),quotemeta(). I have read the explanation for these functions in the perl documentation but i could not get idea of where exactly we can use these functions. So please send some other lin

doubt in quote-like operators

2006-08-06 Thread anand kumar
hi all, I could not understand clearly the functions qw(),qq(),qr(),qx(),q(),quotemeta(). I have read the explanation for these functions in the perl documentation but i could not get idea of where exactly we can use these functions. So please send some other links or examples for t

Re: Help with probably dumb question

2006-08-06 Thread Mumia W.
On 08/06/2006 09:43 PM, Ralph H. Stoos Jr. wrote: [...] So, what I really want, is to have the script re-entrant so that I can get one file as output, and then use all the resultant files as a base to further parse. Pardon my blathering explanation, but can I do this ?? Do I need to make the

RE: perl script calls batch file

2006-08-06 Thread Shourya Sengupta
Sure it does... the quality of the programmers at infosys The above statement made by this fellow (Todd W) is an attack on me as well as my company. I surely did not expect this kind of behaviour in the forum. I request you all not to reply to this person's mails. -Original Message- From:

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

2006-08-06 Thread Dr.Ruud
"Guo Remy" schreef: > 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)/) { The \b is wrong. > print "$1\n"; > } > } > > bu

Help with probably dumb question

2006-08-06 Thread Ralph H. Stoos Jr.
All, I am a major newbie (and 53 years old to boot), but I was able to piece together a workable script that processes a CSV file. I get a CSV file once a week that has data which needs to be sorted. For the first pass, I have the script gives me an output file that contains records that meet on

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

2006-08-06 Thread John W. Krahn
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: > > abc > xyz > fred > wilma > barney > anything > > and my code is: > > while (<>) { >if (/(fred\nwilma\n\barney)/) { >print "$1\n"; >} > } > > but ac

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

Re: lines?

2006-08-06 Thread John W. Krahn
Ryan Dillinger wrote: > Hello all, Hello, > I was wondering if someone could explain lines: 14, 17, 18, 21, 27, and 43 > please. I understand the bulk of the script. But to put it all > together would better. Thanks so much! > > 1. #!/usr/bin/perl > 2. # hangman.pl > 3. use warnings; > 4. > 5.

Re: lines?

2006-08-06 Thread D. Bolliger
Ryan Dillinger am Sonntag, 6. August 2006 23:05: > Hello all, Hello Ryan > I was wondering if someone could explain lines: 14, 17, 18, 21, 27, and > 43 please. I understand the bulk of the script. But to put it all > together would better. Thanks so much! > > 1. #!/usr/bin/perl > 2. # hangman.

lines?

2006-08-06 Thread Ryan Dillinger
Hello all, I was wondering if someone could explain lines: 14, 17, 18, 21, 27, and 43 please. I understand the bulk of the script. But to put it all together would better. Thanks so much! 1. #!/usr/bin/perl 2. # hangman.pl 3. use warnings; 4. 5. @words = qw(internet cyber groups information);

Re: form submission through proxy

2006-08-06 Thread Saurabh Singhvi
So now after running the code(with proxy). The output that I am getting, is the page the form was to be submitted on, not the form submitted page. What could be wrong?? thanks Saurabh On 8/6/06, Mumia W. < [EMAIL PROTECTED]> wrote: > > > > On 08/06/2006 01:15 AM, Saurabh Singhvi wrote: > > > H

Re: POD: force line break?

2006-08-06 Thread D. Bolliger
Peter Daum am Sonntag, 6. August 2006 19:34: > Tom Phoenix wrote: > > If the renderer you're using supports it, you can produce a newline > > character with the formatting code E<10>. But older renderers (and > > maybe even some newer ones) may not give you the effect you're looking > > for. > > >

Re: POD: force line break?

2006-08-06 Thread Tom Phoenix
On 8/6/06, Peter Daum <[EMAIL PROTECTED]> wrote: What I am looking for is a way to force a new line at a certain place, pretty much like '' in HTML, but independent of the context and the output format. Using verbatim paragraphs would mean doing without any formatting. Actually, I was trying t

Re: POD: force line break?

2006-08-06 Thread Peter Daum
Tom Phoenix wrote: > If the renderer you're using supports it, you can produce a newline > character with the formatting code E<10>. But older renderers (and > maybe even some newer ones) may not give you the effect you're looking > for. > > What are you trying to do? You can have direct control o

Re: POD: force line break?

2006-08-06 Thread Tom Phoenix
On 8/6/06, Peter Daum <[EMAIL PROTECTED]> wrote: Is there any way, to force a line break in POD, without starting a new paragraph? If the renderer you're using supports it, you can produce a newline character with the formatting code E<10>. But older renderers (and maybe even some newer ones)

POD: force line break?

2006-08-06 Thread Peter Daum
Hi, Is there any way, to force a line break in POD, without starting a new paragraph? Regards, Peter Daum -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: form submission through proxy

2006-08-06 Thread Mumia W.
On 08/06/2006 01:15 AM, Saurabh Singhvi wrote: Hi all [...] Hello use lwp::UserAgent; [...] I am using the above code to submit a form. Is it correct ?? I can't test it as I am behind proxy. So I need a way make the code do the requests through a proxy. The $ variables are being passed