RE: running perl scripts on Windows

2002-06-18 Thread Ron Powell
In win2k, right click My Computer, choose Properties, then the Advanced Tab, then the Environment Variables button, add the path to the perl install (c:\perl\bin on my system) to the System Path. Voila. You should be fine at that point. Ron -Original Message- From: A Taylor

RE: Changing a map on an HL server via Perl

2002-06-13 Thread Ron Powell
Some asking around on the hlds_linux mailing list produced this: http://kkrcon.sourceforge.net Its very cool :) Ron -Original Message- From: Joey Tesmer [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 08, 2002 5:08 PM To: [EMAIL PROTECTED] Subject: Changing a map on an HL server

RE: Changing a map on an HL server via Perl

2002-06-10 Thread Ron Powell
Hey there, I run an HLDS (CS server), also. I know its *possible* to interact with the server console remotely. I'm not sure *how* to do it. I'm actually doing some research on this very topic right now. So, keep in touch, maybe we'll find something useful. Ron -Original Message-

Creating a UDP connection...

2002-06-10 Thread Ron Powell
I have a server listening on a certain port. I need to send and receive characters (strings) via a UDP connection. Which module is the best to use? I found a bit of info on perldoc.org referencing IO::Socket. I just want to make sure there are no better choices. -- Ron Powell Senior

RE: Parsing a path environment...

2002-06-05 Thread Ron Powell
SNIP % % or which ever your KULT fave login world is, and then sort % out which path thingies belong where - ala % % if( $ARCH == sgi ) then Ahhh! If/elseif trees! Ick! SNIP See, a great place for a SWITCH statement (*snicker*) /me runs away

Newbie Module Install question...

2002-06-05 Thread Ron Powell
on how to find the answer for myself. I'm at a bit of a loss... I've actually managed to install several modules on my own... BTW this is v5.6.1 built for MSWin32-x86-multi-thread -- Ron Powell Senior IT Analyst Network Administrator gomembers, Inc. (Baltimore Office) [EMAIL PROTECTED

RE: Newbie Module Install question...

2002-06-05 Thread Ron Powell
-Original Message- From: John Edwards [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 8:51 AM To: 'Ron Powell'; perl beginners Subject: RE: Newbie Module Install question... The answer is in your question... http://www.roth.net/perl The Win32::Daemon module is available

Perl 5.8.0rc1 changelogs. What are you most excited about?

2002-06-03 Thread Ron Powell
of the SWITCH statement. I thought it might be an interesting to discuss which feature(s) the more advanced users are looking forward to, and what impact that will have - sort of a learning experience I guess. Anyways, have at it :) -- Ron Powell Senior IT Analyst Network Administrator gomembers

Perl/linux sysadmin question...

2002-05-23 Thread Ron Powell
it myself first) containing the appropriate information? Originally, I was going to write a shell script that used expect... but I'd much rather use perl for it. -- Ron Powell Senior IT Analyst Network Administrator gomembers, Inc. (Baltimore Office) [EMAIL PROTECTED] 410-494-1600 x4058

RE: Perl/linux sysadmin question...

2002-05-23 Thread Ron Powell
snip Thus, you should probably go back to your LAH and read up on what it has to say about adding users, and see if there is a useradd or adduser or similar script provided (what flavor of Linux are you using?) to see what it does (it might be quite sufficient), and then you'll have an

RE: Getting contens of file into a hash

2002-04-29 Thread Ron Powell
Here's the code I came up with for testing whether the line read contains a : (and thus makes it eligible for SPLITting). #!/usr/bin/perl -w $filename = /home/ron/perl/cpu.txt; $output = system(cat /proc/cpuinfo$filename); open(INFILE, $filename); while (INFILE) { $linetest =$_;

Unix to dos; dos to unix...

2002-04-25 Thread Ron Powell
per se, but perhaps a pointer? -- Ron Powell Senior IT Analyst Network Administrator gomembers, Inc. (Baltimore Office) [EMAIL PROTECTED] 410-494-1600 x4058 ...OLE_Obj...

Testing for null strings and/or input...

2002-04-23 Thread Ron Powell
=INFILE3; chop($getdept); if (!($getdept)) { $getdept=UNSPECIFIED; } return $getdept } -- Ron Powell Senior IT Analyst Network Administrator gomembers, Inc. (Baltimore Office) [EMAIL PROTECTED] 410-494-1600 x4058 ...OLE_Obj...