Query, Finding IP Address of all the connected machines to remote server?

2005-10-12 Thread Sanjaykumar Gupta
Hi all, I an new to group and perl itself. I need to find the IP address of the machines, which tries/does access my unix server. For eq if someone connect using ftp, telnet,ssh or anyother tool I need to know the IP address of the user and the time when he connected. Thank you all for your

Re: input web page question

2005-10-12 Thread Chris Devers
On Wed, 12 Oct 2005, Luinrandir wrote: ok this is the code i have so far there it is... since i don't know how to call/capture/open the web page and get the HTML to a variable, there is not much I can do. Once I get the HTML into a var.. i can do the rest. as to moduals.. i barly know pe

Re: input web page question

2005-10-12 Thread Luinrandir
ok this is the code i have so far there it is... since i don't know how to call/capture/open the web page and get the HTML to a variable, there is not much I can do. Once I get the HTML into a var.. i can do the rest. as to moduals.. i barly know perl.. much less moduals.. LWP has no meanin

Re: input web page question

2005-10-12 Thread Chris Devers
On Wed, 12 Oct 2005, Luinrandir wrote: there is no code yet.. i will write the code. i need the one line that get the web page $Input=?? answers like your suck.. why do you bother. Funny, I was wondering the same thing about your question :-) The answer is to look up, and read, the docum

Re: input web page question

2005-10-12 Thread Luinrandir
there is no code yet.. i will write the code. i need the one line that get the web page $Input=?? answers like your suck.. why do you bother. - Original Message - From: "Chris Devers" <[EMAIL PROTECTED]> To: "Luinrandir" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, October 12, 2005 6:5

Re: input web page question

2005-10-12 Thread Chris Devers
On Wed, 12 Oct 2005, Luinrandir wrote: I know this question has been asked before. Then you may recognize the forthcoming answer, too... :-) I have done a search on thelist and the web.. I can't find it.. thought i saved it.. help? how do a capture a web page to a var so I can strip the html

input web page question

2005-10-12 Thread Luinrandir
I know this question has been asked before. I have done a search on thelist and the web.. I can't find it.. thought i saved it.. help? how do a capture a web page to a var so I can strip the html? Lou -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: Matching same Name

2005-10-12 Thread John W. Krahn
Mark davenport wrote: > Hello, Hello, > I am writing a program that will do the following: > > Create an email when you see the same name 3 times. > > > How would i go about doing this: > > I am capturing an error message and when I see a name 3 times I need to > send an email.(Using Blat) m

Re: flock & network

2005-10-12 Thread John Doe
Tom Allison am Mittwoch, 12. Oktober 2005 15.55: [...] Since you got no answer yet from somebody knowing better: > How do I test for NFS mounting so I can flag it as a problem in my code? hand made: examine /proc/mounts ... But I'm shure there are much better ways. > What options are there for

Matching same Name

2005-10-12 Thread Mark davenport
Hello, I am writing a program that will do the following: Create an email when you see the same name 3 times. How would i go about doing this: I am capturing an error message and when I see a name 3 times I need to send an email.(Using Blat) thanks mark ___

RE: Formatting Variables

2005-10-12 Thread Ryan Frantz
> -Original Message- > From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 12, 2005 5:31 PM > To: Ryan Frantz > Cc: Perl Beginners List > Subject: Re: Formatting Variables > > Ryan Frantz wrote: > > Perlers, > > > > > > > > Is there are way to format a variable

Re: Formatting Variables

2005-10-12 Thread Wiggins d'Anconia
Ryan Frantz wrote: > Perlers, > > > > Is there are way to format a variable before placing it into an array or > hash? I have several variables that contain floating point numbers that > I format prior to printing out: > > > > my $float = "12.3456"; > > print "%2.1f\n", $float; > perld

Formatting Variables

2005-10-12 Thread Ryan Frantz
Perlers, Is there are way to format a variable before placing it into an array or hash? I have several variables that contain floating point numbers that I format prior to printing out: my $float = "12.3456"; print "%2.1f\n", $float; I'd like to place these scalars into an array for l

flock & network

2005-10-12 Thread Tom Allison
perldoc says I can't do flock over a network. I assume this is NFS mounted files. Two questions: How do I test for NFS mounting so I can flag it as a problem in my code? What options are there for locking over NFS besides using foo.lock files all over the place? -- To unsubscribe, e-mail: [EMA

Re: fork + objects + logging

2005-10-12 Thread Marcello
Tom Allison ha scritto: [snip other question] Logging: I am using a package Log::Dispatch to do my logging. Is there any penalty to loading the same modules for Log::Dispatch into multiple Packages (Main plus all my custom package/modules)? IIRC this should share the memory but allow each

Re: difference between '&subroutine()' and 'subroutine()'

2005-10-12 Thread Xavier Noria
On Oct 12, 2005, at 10:16, Jeff Pan wrote: I want to know what's the difference when I call a subroutine with '&' or without '&'. Sure, that's documented in perlsub. Check for instance the comments in the code below "To call subroutines:" in the very SYNOPSIS. -- fxn -- To unsubscribe,

difference between '&subroutine()' and 'subroutine()'

2005-10-12 Thread Jeff Pan
HI, I want to know what's the difference when I call a subroutine with '&' or without '&'. such as: &subroutine(); sub subroutine{ .. } or subroutine(); sub subroutine{ .. } Can anyone tell me?thanks a lot. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: