Re: Help needed with here documents (security?)

2013-10-24 Thread Octavian Rasnita
From: "Ronald F. Guilmette" > > In message <7E7181F2497441C88988DD1F16E4A743@octavianf303f0>, you wrote: > >>From: "Janek Schleicher" >> >>> Am 24.10.2013 15:07, schrieb Shawn H Corey: > my $email = Email::Simple->create( > header => [ > From => $sender_addr

Re: Help needed with here documents (security?)

2013-10-24 Thread Ronald F. Guilmette
In message <20131024183255.3c233104@sage>, you wrote: >On Thu, 24 Oct 2013 14:55:51 -0700 >"John W. Krahn" wrote: > >> stdin (and stdout) are part of a stream protocol and as such are not >> about files and do not signal End-Of-File which is part of why emails >> use the single period to signa

Re: Help needed with here documents (security?)

2013-10-24 Thread Ronald F. Guilmette
In message <52699767.2050...@shaw.ca>, you wrote: >Ronald F. Guilmette wrote: >> In message<5268663c.4040...@stemsystems.com>, >> Uri Guttmanwrote: >> >>> i think a blank line with . will end input to smtp servers. try that too >>> in the line after the from field. >> >> DING DING DING!!! >> >> G

Re: Help needed with here documents (security?)

2013-10-24 Thread Shawn H Corey
On Thu, 24 Oct 2013 14:55:51 -0700 "John W. Krahn" wrote: > stdin (and stdout) are part of a stream protocol and as such are not > about files and do not signal End-Of-File which is part of why emails > use the single period to signal the end of the message. I thought that was from the old mai

Re: Help needed with here documents (security?)

2013-10-24 Thread John W. Krahn
Ronald F. Guilmette wrote: In message<5268663c.4040...@stemsystems.com>, Uri Guttmanwrote: i think a blank line with . will end input to smtp servers. try that too in the line after the from field. DING DING DING!!! Give that man a cupie doll, because he's the winner of today's perplexing pu

Re: Help needed with here documents (security?)

2013-10-24 Thread Jim Gibson
On Oct 24, 2013, at 11:59 AM, Ronald F. Guilmette wrote: > But, getting back to my original 2 questions... > > I want to stress that I did not ask how to formulate and/or send a > properly formatted e-mail message. I can handle that part, even if > perhaps only in my own clumsey way. > > What

Re: Help needed with here documents (security?)

2013-10-24 Thread Ronald F. Guilmette
In message <7E7181F2497441C88988DD1F16E4A743@octavianf303f0>, you wrote: >From: "Janek Schleicher" > >> Am 24.10.2013 15:07, schrieb Shawn H Corey: my $email = Email::Simple->create( header => [ From => $sender_addr, To => 'ad...@

Re: Help needed with here documents (security?)

2013-10-24 Thread Octavian Rasnita
From: "Janek Schleicher" Am 24.10.2013 15:07, schrieb Shawn H Corey: my $email = Email::Simple->create( header => [ From => $sender_addr, To => 'ad...@tristatelogic.com', X-Server-Protocol => $server_protocol, X-Http-User-Agent => $ht

Re: Help needed with here documents (security?)

2013-10-24 Thread Janek Schleicher
Am 24.10.2013 15:07, schrieb Shawn H Corey: my $email = Email::Simple->create( header => [ From => $sender_addr, To => 'ad...@tristatelogic.com', X-Server-Protocol => $server_protocol, X-Http-User-Agent => $http_user_agent, X-Http-

Re: Help needed with here documents (security?)

2013-10-24 Thread Shawn H Corey
On Thu, 24 Oct 2013 06:30:58 -0700 Jim Gibson wrote: > > On Oct 24, 2013, at 6:07 AM, Shawn H Corey wrote: > > > On Thu, 24 Oct 2013 13:52:51 +0200 > > Janek Schleicher wrote: > > > >> use Email::Simple; > >> > >> my $email = Email::Simple->create( > >> header => [ > >> From

Re: Help needed with here documents (security?)

2013-10-24 Thread Jim Gibson
On Oct 24, 2013, at 6:07 AM, Shawn H Corey wrote: > On Thu, 24 Oct 2013 13:52:51 +0200 > Janek Schleicher wrote: > >> use Email::Simple; >> >> my $email = Email::Simple->create( >> header => [ >> From => $sender_addr, >> To => 'ad...@tristatelogic.com',

Re: Help needed with here documents (security?)

2013-10-24 Thread Shawn H Corey
On Thu, 24 Oct 2013 13:52:51 +0200 Janek Schleicher wrote: > use Email::Simple; > > my $email = Email::Simple->create( >header => [ > From => $sender_addr, > To => 'ad...@tristatelogic.com', > X-Server-Protocol => $server_protocol, > X-Http-

Re: Help needed with here documents (security?)

2013-10-24 Thread Janek Schleicher
Another way of handling is to use one of the availabe Email::* modules on CPAN. This would have the advantages of (beside you don't have to worry about details of string quoting): - better code, as you write down what you intend to do instead of how you do it - better security, as those module

Re: Help needed with here documents (security?)

2013-10-23 Thread Ronald F. Guilmette
In message <40504.1382576...@server1.tristatelogic.com>, I wrote: >>> Well, I added to the script some rudimentary filtering/validation of >>> the input strings in question also. >> >>you need more than rudimentary filtering. make sure the from field is >>one string, no newlines or anything but

Re: Help needed with here documents (security?)

2013-10-23 Thread Ronald F. Guilmette
In message <5268663c.4040...@stemsystems.com>, Uri Guttman wrote: >i think a blank line with . will end input to smtp servers. try that too >in the line after the from field. DING DING DING!!! Give that man a cupie doll, because he's the winner of today's perplexing puzzle test! In short, ye

Re: Help needed with here documents (security?)

2013-10-23 Thread Ronald F. Guilmette
In message <20131023193228.38cf83e2@sage>, you wrote: >On Wed, 23 Oct 2013 16:12:12 -0700 >"Ronald F. Guilmette" wrote: > >> I believe that you may be on to something here, but it is more than >> just Postfix seeing a \n\n and believeing that it had encountered the >> end of the headers. It is

Re: Help needed with here documents (security?)

2013-10-23 Thread Uri Guttman
On 10/23/2013 07:12 PM, Ronald F. Guilmette wrote: In message <52684f18.2000...@stemsystems.com>, you wrote: I _do_ know more than a little about mail servers, and while you are basically correct, i.e. that Postfix would certainly view anything past the first \n\n encountered as being *messag

Re: Help needed with here documents (security?)

2013-10-23 Thread Dr.Ruud
On 2013-10-24 01:12, Ronald F. Guilmette wrote: In message <52684f18.2000...@stemsystems.com>, you wrote: On 10/23/2013 06:18 PM, Ronald F. Guilmette wrote: ... print SM < From: "$sender_name" <$sender_addr> Subject: Your message to Tristatelogic.Com X-Server-Protocol: $server_protocol X-Http

Re: Help needed with here documents (security?)

2013-10-23 Thread Shawn H Corey
On Wed, 23 Oct 2013 16:12:12 -0700 "Ronald F. Guilmette" wrote: > I believe that you may be on to something here, but it is more than > just Postfix seeing a \n\n and believeing that it had encountered the > end of the headers. It is possible that something in the input > stream I gave it signal

Re: Help needed with here documents (security?)

2013-10-23 Thread Ronald F. Guilmette
In message <52684f18.2000...@stemsystems.com>, you wrote: >On 10/23/2013 06:18 PM, Ronald F. Guilmette wrote: > >> ... >> print SM <> To: "Tristatelogic.Com Administrator" >> From: "$sender_name" <$sender_addr> >> Subject: Your message to Tristatelogic.Com >> X-Server-Protocol: $server_protocol

Re: Help needed with here documents (security?)

2013-10-23 Thread Uri Guttman
On 10/23/2013 06:18 PM, Ronald F. Guilmette wrote: ... print SM < From: "$sender_name" <$sender_addr> Subject: Your message to Tristatelogic.Com X-Server-Protocol: $server_protocol X-Http-User-Agent: $http_user_agent X-Http-Referer: $http_referer X-Remote-Addr: $remote_addr X-Remote-Host: $remot

Re: Help needed with here documents (security?)

2013-10-23 Thread Ronald F. Guilmette
In message <39517.1382566...@server1.tristatelogic.com>, I wrote: >About a day ago, some schmuck set about to try, hard, to exploit the >personally written Perl code I have in place and that processes the >input for the contact form on my web site... I neglected to mention that this was obviousl

Re: Help needed in pressing Esc key

2011-05-15 Thread Shlomi Fish
Hi meaculpa, On Friday 13 May 2011 10:44:34 meaculpa wrote: > Hi, > > Can anyone plz help me by telling how to press Esc key using perl > script. > > In my script, i came across a scenario to press the Esc key.. Plz help > me.. I am not able to move forward due to this problem. Do you want to p

Re: Help needed with '-e' operator

2009-07-09 Thread Anu P
9, 2009 7:40:00 AM Subject: Re: Help needed with '-e' operator On Wed, Jul 8, 2009 at 6:57 PM, John Refior wrote: > On Wed, Jul 8, 2009 at 7:34 AM, Anu P wrote: > >> I am trying to use the '-e' filetest operator and encountered some wired >> behavior. >>

Re: Help needed with '-e' operator

2009-07-09 Thread Robert Citek
On Wed, Jul 8, 2009 at 6:57 PM, John Refior wrote: > On Wed, Jul 8, 2009 at 7:34 AM, Anu P wrote: > >> I am trying to use the '-e' filetest operator and encountered some wired >> behavior. >> I have a tar.gz file which is around 2.6 G and this is the code...Tar.gz >> file is in the same directory

Re: Help needed with '-e' operator

2009-07-08 Thread John Refior
On Wed, Jul 8, 2009 at 7:34 AM, Anu P wrote: > I am trying to use the '-e' filetest operator and encountered some wired > behavior. > I have a tar.gz file which is around 2.6 G and this is the code...Tar.gz > file is in the same directory where script is executed. > > unless (-e $file) { > print

Re: Help needed with '-e' operator

2009-07-08 Thread Robert Citek
The code you wrote should work as it worked for me when I tested it on a 3 GB sized file: $ ls -sh 3gb-file 3.0G 3gb-file $ perl -le '$file="3gb-file" ; unless (-e $file) { print ("nope") ; } else { print ("yup") ; } ' yup I tested it with files as large as 10 GB and it worked. Could it be that

Re: help needed to get over endless loop

2009-04-20 Thread Brian
Thank you all for your much needed help. The penny has managed to drop. regards Brian -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: help needed to get over endless loop

2009-04-17 Thread Chas. Owens
On Fri, Apr 17, 2009 at 21:35, Brian wrote: snip > LOL, I didn't understand any of that. :-) > Apart from the last sentence ;-) snip Think of a clock, they hands can go around as many times as you like but they can never point to anything higher than 12. Modulus works the same way, the second va

Re: help needed to get over endless loop

2009-04-17 Thread Brian
John W. Krahn wrote: Brian wrote: John W. Krahn wrote: Brian wrote: This is what I'm using upto the code that is giving me a headache. I know it's messy, but I have no training in PERL, I am trying to forward-engineer this cgi by back-engineering from html templates I created and which were

Re: help needed to get over endless loop

2009-04-17 Thread John W. Krahn
Brian wrote: John W. Krahn wrote: Brian wrote: This is what I'm using upto the code that is giving me a headache. I know it's messy, but I have no training in PERL, I am trying to forward-engineer this cgi by back-engineering from html templates I created and which were chosen using $t->src

Re: help needed to get over endless loop

2009-04-17 Thread Brian
John W. Krahn wrote: Brian wrote: This is what I'm using upto the code that is giving me a headache. I know it's messy, but I have no training in PERL, I am trying to forward-engineer this cgi by back-engineering from html templates I created and which were chosen using $t->src [ *SNIP* ]

Re: help needed to get over endless loop

2009-04-17 Thread Brian
Brian wrote: John W. Krahn wrote: Brian wrote: chomp($Lang = $val1); chomp($Year_in = $val2); chomp() removes the contents of the $/ variable from the end of the string. What makes you think that $val1 and $val2 need to be chomp()ed? Oops, they are leftovers from when I was using STDIN

Re: help needed to get over endless loop

2009-04-17 Thread Brian
John W. Krahn wrote: Brian wrote: This is what I'm using upto the code that is giving me a headache. I know it's messy, but I have no training in PERL, I am trying to forward-engineer this cgi by back-engineering from html templates I created and which were chosen using $t->src #! c:\perl\b

Re: help needed to get over endless loop

2009-04-17 Thread John W. Krahn
Brian wrote: This is what I'm using upto the code that is giving me a headache. I know it's messy, but I have no training in PERL, I am trying to forward-engineer this cgi by back-engineering from html templates I created and which were chosen using $t->src [ *SNIP* ] whe

Re: help needed to get over endless loop

2009-04-17 Thread John W. Krahn
Brian wrote: This is what I'm using upto the code that is giving me a headache. I know it's messy, but I have no training in PERL, I am trying to forward-engineer this cgi by back-engineering from html templates I created and which were chosen using $t->src thanks for any help Brian #! c:

Re: help needed to get over endless loop

2009-04-17 Thread Brian
Jim Gibson wrote: On 4/17/09 Fri Apr 17, 2009 1:50 PM, "Brian" scribbled: Brian wrote: oops, should read.. $Year_out = $Year_in; while ($Year_out > 100) {$Year_out -= 100;} if (($Year_out > 00) && ($Year_out <= 25)) {$string = $string1;} if (($Year_out > 25

Re: help needed to get over endless loop

2009-04-17 Thread Jim Gibson
On 4/17/09 Fri Apr 17, 2009 1:50 PM, "Brian" scribbled: > Brian wrote: > > oops, should read.. > > $Year_out = $Year_in; > > while ($Year_out > 100) {$Year_out -= 100;} > if (($Year_out > 00) && ($Year_out <= 25)) {$string = $string1;} > if (($Year_out > 25) &

Re: help needed to get over endless loop

2009-04-17 Thread Brian
Kevin Ponds wrote: Brian, Your while loops aren't actually performing any operation on the variable I did actually state that the loops wouldn't work. I adjusted them to better show what I want to achieve, not to show how I am trying to achieve it. that is being tested as part of their co

Re: help needed to get over endless loop

2009-04-17 Thread Kevin Ponds
Brian, Your while loops aren't actually performing any operation on the variable that is being tested as part of their condition. With while loops, if the condition ($i in this case) is true at the start of the loop, and doesn't change, they will loop forever. They aren't like for loops, where y

Re: help needed to get over endless loop

2009-04-17 Thread Brian
Brian wrote: oops, should read.. $Year_out = $Year_in; while ($Year_out > 100) {$Year_out -= 100;} if (($Year_out > 00) && ($Year_out <= 25)) {$string = $string1;} if (($Year_out > 25) && ($Year_out <= 50)) {$Year_out -= 25;$string = $string2;} if (($Year_o

Re: help needed to get over endless loop

2009-04-17 Thread Brian
This is what I'm using upto the code that is giving me a headache. I know it's messy, but I have no training in PERL, I am trying to forward-engineer this cgi by back-engineering from html templates I created and which were chosen using $t->src thanks for any help Brian #! c:\perl\bin\perl

Re: help needed to get over endless loop

2009-04-17 Thread Brian
Wagner, David --- Senior Programmer Analyst --- CFS wrote: -Original Message- From: Brian [mailto:brian5432...@yahoo.co.uk] Sent: Friday, April 17, 2009 11:03 To: Perl Beginners Subject: help needed to get over endless loop Hi I had this semi-working, changed something and can't rememb

RE: help needed to get over endless loop

2009-04-17 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Brian [mailto:brian5432...@yahoo.co.uk] > Sent: Friday, April 17, 2009 11:03 > To: Perl Beginners > Subject: help needed to get over endless loop > > Hi > I had this semi-working, changed something and can't remember where I > went right, so would appreciate

Re: help needed to get over endless loop

2009-04-17 Thread Jim Gibson
On 4/17/09 Fri Apr 17, 2009 10:02 AM, "Brian" scribbled: > Hi > I had this semi-working, changed something and can't remember where I > went right, so would appreciate some help getting back on top. > > I know 1..10 and 2..10 probably won't work in the following example, I > have just changed

Re: Help needed in understanding some lines of code.

2009-03-19 Thread Telemachus
On Thu Mar 19 2009 @ 10:41, Chas. Owens wrote: > On Thu, Mar 19, 2009 at 06:11, Raheel Hassan wrote: > > Can anybody explains this piece of code, i have difficulties in > > understanding it, You're much nicer than the folks over at Linux Questions. http://tinyurl.com/dhncl4 Then again, he did

Re: Help needed in understanding some lines of code.

2009-03-19 Thread Chas. Owens
On Thu, Mar 19, 2009 at 10:41, Chas. Owens wrote: snip >> &initLanguage($language); > > No idea what this does because there is no context for it. snip >> "x($status_bar_pos-(length($txth->getText("5016"))+7; } snip Whoops, I only worked down the code and didn't reread until after I sent the

Re: Help needed in understanding some lines of code.

2009-03-19 Thread Chas. Owens
On Thu, Mar 19, 2009 at 06:11, Raheel Hassan wrote: > Can anybody explains this piece of code, i have difficulties in > understanding it, > > > my $errorlog = "/var/log/controler.log"; > > &initLanguage($language); No idea what this does because there is no context for it. > &launchCbox(); This

Re: Help needed with insignificant problem using format and write

2007-08-21 Thread Mathew Snyder
Chas Owens wrote: > On 8/21/07, Mathew Snyder <[EMAIL PROTECTED]> wrote: > snip >> It would appear that for all but the first iteration, this is happening. >> However, something during the first time through seems to cause the flag to >> not >> be what it should. >> >> I've tried changing where th

Re: Help needed with insignificant problem using format and write

2007-08-21 Thread Chas Owens
On 8/21/07, Mathew Snyder <[EMAIL PROTECTED]> wrote: snip > It would appear that for all but the first iteration, this is happening. > However, something during the first time through seems to cause the flag to > not > be what it should. > > I've tried changing where the TOP is in the script, when

Re: Help needed with insignificant problem using format and write

2007-08-21 Thread Mathew Snyder
Chas Owens wrote: > On 8/20/07, Mathew Snyder <[EMAIL PROTECTED]> wrote: >> Paul Lalli wrote: >>> On Aug 20, 3:10 pm, [EMAIL PROTECTED] (Mathew Snyder) wrote: I run a script which creates a small report for different users of a system we have here at work. The report is a simple te

Re: Help needed with insignificant problem using format and write

2007-08-20 Thread Chas Owens
On 8/20/07, Mathew Snyder <[EMAIL PROTECTED]> wrote: > Paul Lalli wrote: > > On Aug 20, 3:10 pm, [EMAIL PROTECTED] (Mathew Snyder) wrote: > >> I run a script which creates a small report for different users of a > >> system we > >> have here at work. The report is a simple text document formated

Re: Help needed with insignificant problem using format and write

2007-08-20 Thread Mathew Snyder
Paul Lalli wrote: > On Aug 20, 3:10 pm, [EMAIL PROTECTED] (Mathew Snyder) wrote: >> I run a script which creates a small report for different users of a system >> we >> have here at work. The report is a simple text document formated with, of >> all >> things, the format function. It uses a TOP

Re: Help needed with insignificant problem using format and write

2007-08-20 Thread Paul Lalli
On Aug 20, 3:10 pm, [EMAIL PROTECTED] (Mathew Snyder) wrote: > I run a script which creates a small report for different users of a system we > have here at work. The report is a simple text document formated with, of all > things, the format function. It uses a TOP to create a header for each of

Re: Help needed created this data structure

2007-07-10 Thread klute
--- klute <[EMAIL PROTECTED]> wrote: > > --- "D. Bolliger" <[EMAIL PROTECTED]> wrote: > > > klute am Montag, 9. Juli 2007 23:04: > > > --- Chris Charley <[EMAIL PROTECTED]> wrote: > > > > - Original Message - > > > > From: "klute" <[EMAIL PROTECTED]> > > > > Newsgroups: perl.beginners >

Re: Help needed created this data structure

2007-07-10 Thread klute
--- "D. Bolliger" <[EMAIL PROTECTED]> wrote: > klute am Montag, 9. Juli 2007 23:04: > > --- Chris Charley <[EMAIL PROTECTED]> wrote: > > > - Original Message - > > > From: "klute" <[EMAIL PROTECTED]> > > > Newsgroups: perl.beginners > > > To: > > > Sent: Monday, July 09, 2007 4:20 PM > >

Re: Help needed created this data structure

2007-07-09 Thread usenet
On Jul 9, 2:04 pm, [EMAIL PROTECTED] (Klute) wrote: > Here is the sample data: That helps us provide a meaningful reply. Something like this will work, though you may want to make the regexp's a little more generalized: #!/usr/bin/perl use strict; my (%affiliate, $parent, $group); whi

Re: Help needed created this data structure

2007-07-09 Thread D. Bolliger
klute am Montag, 9. Juli 2007 23:04: > --- Chris Charley <[EMAIL PROTECTED]> wrote: > > - Original Message - > > From: "klute" <[EMAIL PROTECTED]> > > Newsgroups: perl.beginners > > To: > > Sent: Monday, July 09, 2007 4:20 PM > > Subject: Help needed created this data structure > > > > > H

Re: Help needed created this data structure

2007-07-09 Thread klute
Hi Chris, I did try coding this but I am afraid to confuse everyone with what I came up with so far. I can paste what I have if you feel that it would help. Here is the sample data: Affiliate Parent Group: Google -> Affiliate Group: Google Advertiser --> Affiliate (Aff Id: 1, Aff Name: Fr

Re: Help needed created this data structure

2007-07-09 Thread Chris Charley
- Original Message - From: "klute" <[EMAIL PROTECTED]> Newsgroups: perl.beginners To: Sent: Monday, July 09, 2007 4:20 PM Subject: Help needed created this data structure Hi All, I am new to Perl and was hoping to get advice on creating the following data structure: I have an Affi

Re: help needed!!

2007-07-04 Thread Tom Phoenix
On 7/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: File1:example.txt ProbeNames Exp1Exp2Exp3Exp4Exp5 244901_at 24.346.437.419.559.6 244902_at 36.692.449.542.4 29.6 244903_at 46.4

Re: Help needed on font colour on the terminal.

2006-09-29 Thread sanobabu
Guo Remy wrote: Great! it's as easy as use ANSI in telnet BBS! :-D many thanks! Oh! the great BBS, never had a chance to see it myself. !..! thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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::ANSICOLOR, it seems to > not work w

Re: Help needed on font colour on the terminal.

2006-09-29 Thread Rob Dixon
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::ANSICOLOR, it seems to not work with cmd.exe under Windows OS... do you have any idea to make this happen? Thanks in advance. :) Hi Remy The comman

Re: Help Needed

2006-01-17 Thread Chris Devers
On Wed, 18 Jan 2006, Rakesh Mishra wrote: > Hello folks > I am thinking to built port scanner in perl. for port scanning I am > using SYN packet. > Can any body suggest some online document or mannuals for this. Can someone? Probably. Did you try searching? Where? What did you find? Did you fin

Re: Help needed: urgent

2004-10-01 Thread Wiggins d Anconia
Always group reply so that others can help and be helped and to avoid getting (accidentally) ignored. > --- > "But I need the output as an array like @db_results > which would be sent > to a HTML template.

Re: Help needed: urgent

2004-09-30 Thread Wiggins d Anconia
> == > Using DBI Perl Programming I get a database o/p as > below > Student SubjectCodeMarks > > A 190 > A

RE: Help needed in extracting html over HTTTPS protocol.

2004-08-04 Thread Sanjay Arora
Anas I have a similar requirement. Can you tell me which perl modules are you using for connecting to http and getting html & which modules for extracting info. I havent got to your stage, so I guess Ill keep an eye on your thread ;-). And Bob, thanks for the tip though its a bit advanced for me

Re: help needed--query

2004-06-03 Thread John W. Krahn
Sidharth wrote: > > hi all, Hello, > i am new to this group. Please set your software to limit line lengths to less than 80 characters and use plain ASCII text instead of quoted-printable MIME. > hope get maximum benifit out of this group. > currently i am writting a script wherein i ha

RE: help needed--query

2004-06-02 Thread Charles K. Clarkson
From: Sidharth wrote: : currently i am writting a script wherein i hav to : creat a temporary file in each sub directory starting from : main dir and write in to that file : : i hav to expand each make file within each sudirectory and : place that temp file the

Re: Help needed on perl wrappers

2003-12-10 Thread R. Joseph Newton
Kinzer [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 10, 2003 12:05 PM > To: [EMAIL PROTECTED] > Subject: RE: Help needed on perl wrappers > > I'm trying to figure out WHY you would ever want to create what you are > asking for. Why-- is a good question here, because

RE: Help needed on perl wrappers

2003-12-10 Thread Tom Kinzer
6:52 AM To: Pandey Rajeev-A19514; '[EMAIL PROTECTED]' Subject: RE: Help needed on perl wrappers Please bottom post... > Hi, > > I was interested in formatted display on screen. > > I can display ONE text paragraph in any part of the screen with Text::wrap. My question was how

RE: Help needed on perl wrappers

2003-12-10 Thread Wiggins d Anconia
- > From: Tom Kinzer [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 10, 2003 12:05 PM > To: [EMAIL PROTECTED] > Subject: RE: Help needed on perl wrappers > > > > I'm trying to figure out WHY you would ever want to create what you are > asking for. Why-- is a goo

RE: Help needed on perl wrappers

2003-12-09 Thread Pandey Rajeev-A19514
changing screen size. Is there any convenient way to do this ? I was looking for readymade stuff. Please suggest. Regards Rajeev -Original Message- From: Tom Kinzer [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 12:05 PM To: [EMAIL PROTECTED] Subject: RE: Help needed on perl

RE: Help needed on perl wrappers

2003-12-09 Thread Tom Kinzer
I'm trying to figure out WHY you would ever want to create what you are asking for. Why-- is a good question here, because there may be a way to get to the real goal instead of creating this. For instance if it's just going into an HTML document, a table of course, would be easier. Just an exam

Re: Help needed on File manipulation

2003-09-26 Thread Dan Anderson
I'm a perl noob, so I'm not sure if this is the best way to do it, but just a thought: When a program is accessing the file create a file like: filename.lock. Delete it when you're done. Then check to see if filename.lock exists before trying to access the program -- if not sleep. Of course, I

Re: Help needed on Telnet.pm

2003-09-22 Thread Jeff Westman
There is an errmode() and dump_log(). Maybe that is what you are trying to capture. perldoc Net::Telnet -Jeff --- Daniel Staal <[EMAIL PROTECTED]> wrote: > > > --On Tuesday, September 23, 2003 0:02 +0530 Pandey Rajeev-A19514 > <[EMAIL PROTECTED]> wrote: > > > Does Telnet.pm capture ou

Re: Help needed on Telnet.pm

2003-09-22 Thread Daniel Staal
--On Tuesday, September 23, 2003 0:02 +0530 Pandey Rajeev-A19514 <[EMAIL PROTECTED]> wrote: Does Telnet.pm capture output from other than the STDOUT ? I have a case where I telnet to a router through a console connection. All commands work well and returns the output. But, there is a special

Re: help needed for LWP

2003-07-12 Thread Rob Dixon
Charu wrote: > i am a beginner to this world of perl. i am not able to run my > script using the LWP package. > i couldn't figure out what was the error. > can anyone tell me where to save the file and how to open it > precisely. i ma using Windows 2000 (can i use IIS as the server?) . > Also,

Re: help needed for LWP

2003-07-10 Thread Oliver Schnarchendorf
On Thu, 10 Jul 2003 15:40:56 -0700, charu wrote: > can anyone please guide me as to where i am going wrong. > hopign for some geek to help me soon Hello charu, the script that you wrote had some problems. You might want to use the following modules every time you write scripts u

Re: help needed

2003-06-30 Thread Janek Schleicher
Vemulakonda Uday Bhaskar wrote at Mon, 30 Jun 2003 09:37:31 +: > but some error is coming > from where do i download Net::SCP. is this code ok http://search.cpan.org Greetings, Janek PS: Don't post your messages more than one times. Otherwise you could get plonked by one or others. -

Re: help needed

2003-06-29 Thread Harry Putnam
"vemulakonda uday bhaskar" <[EMAIL PROTECTED]> writes: > hi aall > > when i search cpan for downloading Net::FTP, i will be viewing > something like this : > > Net::FTP > perl - 5.8.0 > > when i click the "perl - 5.8.0", i go to a page where there is > download option for perl - 5.8.0, but no whe

Re: help needed

2003-06-29 Thread Sumit_Babu
Hello Uday, Net::FTP is a module in libnet distribution. You will have to download and install libnet to get Net::FTP. Check up http://search.cpan.org/author/GBARR/libnet-1.16/ for more info. <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> A "No" uttered from dee

Re: help needed

2003-06-29 Thread Ovid
> Anyone p[lease tell me from where can i download Net::FTP module Hi Uday, Net::FTP is part of libnet which you can download at http://search.cpan.org/author/GBARR/libnet-1.16/. Cheers, Ovid = Hire me! http://users.easystreet.com/ovid/personal/resume.html Ovid

Re: Help needed perl

2003-06-26 Thread Sudarshan Raghavan
vemulakonda uday bhaskar wrote: dear all i have got two linux systems with perl on it i want perl programming workable code through which i can transfer files from one system to another using sftp or ssh. sftp http://search.cpan.org/search?query=sftp&mode=module ssh http://search.cpan.org/sea

RE: Help needed

2003-06-24 Thread Dan Muey
> From: "Shishir K. Singh" <[EMAIL PROTECTED]> > > I have to get the size and last modified date of a remote file via > > URL without reading in the whole file. I have gone through > > LWP::UserAgent but couldn't make much headway. Any > pointers on how to > > do it would be appreciated. >

Re: Help needed

2003-06-24 Thread Jenda Krynicky
From: "Shishir K. Singh" <[EMAIL PROTECTED]> > I have to get the size and last modified date of a remote file via > URL without reading in the whole file. I have gone through > LWP::UserAgent but couldn't make much headway. Any pointers on how to > do it would be appreciated. Try to use HEAD re

RE: Help needed on XML Files

2003-06-24 Thread EUROSPACE SZARINDAR
Hello, There are a lot of perl modules dealing with the XML. The most common is XML::Parser which will surely do whatever you want and perhaps a litle more. XML::Simple is also very useful for Simple XML treatment. Just go to CPAN web site. Michel -Message d'origine- De: Remo, Sherwi

Re: Help needed on XML Files

2003-06-24 Thread Janek Schleicher
Sherwin Remo wrote at Tue, 24 Jun 2003 06:56:40 +0800: > I would like to write a script that would check the correct syntax of an XML > file. Need to check if the file is XML compliant. Is there a module that I > can use to do this? Thanks! There are a lot of XML modules on CPAN: http://search

Re: Help needed regarding Parsing Apache Web log file, access_log

2003-06-21 Thread R. Joseph Newton
Anand Babu wrote: > No, I was not expecting anyone to give me a ready made program! I believe in the > adage that "Self Help is the Best Help":-) > Good. You will find a lot of help, then. > Thanks > > Anand > > - > > The script: > > > > #!/usr/bin/perl > > use Getopt::Lon

Re: Help needed regarding Parsing Apache Web log file, access_log

2003-06-18 Thread Anand Babu
Hi, Further to my posts 48450 & 48452, I have modified the perl script. Here it is: -- #!/usr/bin/perl ###use strict; use Getopt::Long; use Time::Local; my $file="access_log_modified"; my $begin_time = ""; my $end_time; my @visual_pages = (); my @final_visual_pages =

Re: Help needed regarding Parsing Apache Web log file, access_log

2003-06-18 Thread Anand Babu
No, I was not expecting anyone to give me a ready made program! I believe in the adage that "Self Help is the Best Help":-) Thanks for the pointer to http://www.oreilly.com/catalog/perlwsmng/chapter/ch08.html. I already looked at that before posting my message. At the end of this email, is the

Re: Help needed regarding Parsing Apache Web log file, access_log

2003-06-18 Thread Ben Crane
Try: http://www.oreilly.com/catalog/perlwsmng/chapter/ch08.html good starting place! __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: Help needed regarding Parsing Apache Web log file, access_log

2003-06-18 Thread Ben Crane
Try: http://www.oreilly.com/catalog/perlwsmng/chapter/ch08.html good starting place! __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: Help needed regarding Parsing Apache Web log file, access_log

2003-06-18 Thread Ramprasad
Anand Babu wrote: Hi all, I am new to this group. I need help regarding a perl script which parses the web log file, access_log. Welcome , This is the most friendly list I have seen The format of the access_log is: 127.0.0.1 - - [15/Jun/2003:13:54:02 -0100] "GET / HTTP/1.1" 200 34906

RE: help needed on text file/String manipulation

2003-06-14 Thread Charles K. Clarkson
Chinku Simon <[EMAIL PROTECTED]> wrote: : : I am facing a problem with text file manipulation : with Perl. : : I have a file with over 2 lac lines of data. Strange. It looks like you've posted a similar message yesterday, except that file had a lot more blank lines. Have you made no progre

Re: Help needed: Simple HASHES question

2003-04-05 Thread Ciprian Morar
sorry for the spam - my question has been answered Hotmail was filtering the discussion list. C 1. What is the difference between Line #1 and Line #2? 2. Why is the Line #2 declaration incorrect? use strict; my %option; $option {'q'} = new CGI; #Line 1- $option{'Mon'} = 'Monday

Re: HELP needed with printing to a text file

2002-04-10 Thread bob ackerman
On Wednesday, April 10, 2002, at 01:34 PM, @fro @ndy wrote: > Hi, > Once again i have another problem regarding my message board lol. This > time the message board is fine but i have made an admin so that it will > read the contents of a text file where all the entries are printed to and > d

RE: help needed with testing variable in an if statement

2002-01-21 Thread Thisell, Andrea
Your format is exactly the way that I've done similar things, except for putting another double quote after the abc (I assume that was just a typo anyway). And make sure to use semicolons at the end of your statements inside the if statement. But otherwise, I think you one way to do it already.

Re: help needed with testing variable in an if statement

2002-01-21 Thread Vicky Lorenzo
Hi Anadi, Hope this helps: #!/tools/bin/perl -w print "enter a number\n"; $a = ; if ($a == 12 or $a== 8) {print "right\n";} else {print "incorrect\n";} #end of script -vicky --- A Taylor <[EMAIL PROTECTED]> wrote: > Hi all, > I am trying to test three variables in an 'if' > statement eg: >

  1   2   >