Socket Programming

2001-08-27 Thread Veeraraju_Mareddi
Dear Friends, I have a small task of Doing/Running some commands on A remote Machine Using Sockets Communication. Till Now I was not familiar with sockets. Could anybody of You Please tell me How to get basic knowledge of SOCKET PROGRAMING with perl. Please Suggest me relative sites for SOCKET

Installing Module

2001-08-27 Thread Rahul Garg
Well, I want to install LWP modules on Linux. At present they are not.CPAN module is there but Linux at present is not connected to net. What exactly I have to do...means What files exactly I have to install from where(exactly). Where I have to install it on Linux. What commands are needed? I t

Site design

2001-08-27 Thread Rustagi, Dhiraj
Hi, I am new to PERL. I need to know if embperl module works only with Apache server and not other HTTP servers? Also, can any one of you point me to any documentation which talks about designing a PERL site keeping internationalization in mind? Thanks

Thanks for help, more to figure

2001-08-27 Thread Sunthari
Dear List, Thanks for your supportive remarks and comments of my script the other day. After getting a book to read, I 'm aware of the mistakes made and there's a lot more to learn to write better codes. I have something to discuss based on the scripts used to find the no. matching words in a te

RE: question regarding CGI scripts

2001-08-27 Thread Bedford, Donald T.
What is the 1st line of your Perl scripts? Should be #!c:\Program Files\Perl\bin\perl.exe -Tw or whatever your path to the executable is... -Original Message- From: mp kapa [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 2:29 PM To: [EMAIL PROTECTED] Subject: question regarding

question regarding CGI scripts

2001-08-27 Thread mp kapa
Hi, I have installed Apache webserver on my windows 2000 platform and tried to execute some CGI scripts written in PERL. But even if i try to execute simple CGI program iam getting 500, internal server error. I have changed the httpd.conf file and made the following changes to enable it for ru

Re: Derefencing Lists used as a hash value

2001-08-27 Thread Randal L. Schwartz
> "Bentwingedbird" == Bentwingedbird <[EMAIL PROTECTED]> writes: Bentwingedbird> I know I can do $elements1{$element}[x] to get to an Bentwingedbird> idividual index within the list, but how can I pull Bentwingedbird> the whole list into a temporary storage variable? Bentwingedbird> I've tr

Derefencing Lists used as a hash value

2001-08-27 Thread bentwingedbird
Greetings all - I'm working on a short script that will compare two XML DTDs. I create two hashes (one for each DTD), and use the DTD Element names as the key, and a referece to a list that contains the element number (i.e., where it appears in the document, from 0 to n) followed by that elem

RE: Net::FTP question

2001-08-27 Thread Bob Showalter
> -Original Message- > From: Jeff A [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 27, 2001 11:47 AM > To: [EMAIL PROTECTED]; Bob Showalter > Cc: '[EMAIL PROTECTED]' > Subject: Re: Net::FTP question > > > I've actually tried that > but when I do dir() or ls() > I get the LIST command

Re: Displaying the output of a system command in HTML

2001-08-27 Thread randy Peterman
I don't use Perl for Administration, and have not run too much other than CGI apps, but you may want to try: #Your code here $command = 'pgp -kv' ; #pass the returned value to an array @Commands = system($command) ; #Display the code in a nice table print qq|COMMANDS|; #iterate through the A

RE: Number of processors on a *nix system

2001-08-27 Thread pconnolly
Solaris is psrinfo. Patrick J Connolly Managed Security Specialist XO Communications (Concentric Network) Work: (314) 506-3479 Cell: (314) 486-8406 Pager: (800) 652-1203 -Original Message- From: Rogers, Gary (AP- Server Adminstrator) [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2

RE: Number of processors on a *nix system

2001-08-27 Thread McCormick, Rob E
within most Solaris shells, no need for Perl, try /usr/bin/dmesg | more I guess you'd do system '/usr/bin/dmesg' and grep out the lines you need... hth, Rob -- > I am looking for a way for Perl to determine how many processors are > on a > system. I know in Windows, I can use th

RE: Number of processors on a *nix system

2001-08-27 Thread Rogers, Gary (AP- Server Adminstrator)
It's going to vary by *NIX. IRIX has the hinv command that reports hardware info. You can probably check somewhere in /proc for Linux. AIX you can probably do an ODMGET to find out, but you'd have to know what to look for. I'm not sure on HP/UX or Soalris, though I'm sure Solaris has a hardware in

Displaying the output of a system command in HTML

2001-08-27 Thread Ackim Chisha
Hello people, Am trying to use CGI with perl as a learner. Now I need to display the output of a system command to HTML. It can't seem to work I don't know why. Here is what am trying to do, Am running the following command, $command = 'pgp -kv' ; system($command) ; Print "system($command)"

Number of processors on a *nix system

2001-08-27 Thread Daryl J. Hoyt
Hi, I am looking for a way for Perl to determine how many processors are on a system. I know in Windows, I can use the NUMBER_OF_PROCESSORS environment variable, but *nix doesn't have this. Any Ideas??? Thanks, Daryl J. Hoyt Performance Engineer Geodesic Systems http://www.geodesic.co

Re: Perl Style?

2001-08-27 Thread Peter Scott
At 08:27 AM 8/27/01 -0600, Rob Waggoner wrote: >If this is not an appropriate place to wax philosophic about perl, let me >know and I will take my questions else where. I think it's fine. You might get a little more informed response from comp.lang.perl.moderated. >I'm curious to hear from ot

Re: Net::FTP question

2001-08-27 Thread Jeff A
I've actually tried that but when I do dir() or ls() I get the LIST command 125 Data Connection already open; No listing appears on the screen although I know that there are files in the driectory. Jeff Bob Showalter wrote: >> -Original Message- >> From: Jeff A [mailto:[EMAIL PROTECTE

RE: Perl Style?

2001-08-27 Thread Rogers, Gary (AP- Server Adminstrator)
Personally I'd have to say... it depends.. If it's a short and dirty script that will eventually be thrown away and never modified by anyone other than yourself, it can be as messy as it has to be to get the job done. If on the other hand there's ever a possiblility that it will be used by someo

Perl Style?

2001-08-27 Thread Rob Waggoner
If this is not an appropriate place to wax philosophic about perl, let me know and I will take my questions else where. I'm curious to hear from others who have worked with perl and other programming/scripting languages. More specifically I'm curious as to how those "other" languages either af

Re: Fw: Virus alert

2001-08-27 Thread Mark Byerley
http://www.symantec.com/avcenter/hoax.html Bernhard <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > - Original Message - > From: Ann-Louise Hill <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; > <[EMAIL PROTECT