Perl Coding Standards / Grade this code A - F

2001-05-11 Thread brianr
Will Du Chene writes: > Hi List. > > A while ago, the company that I work for brought in a couple of consultants > to write the application that we currently use. Well, they left and I was > charged with maintaining, expanding upon and refining the code which they > wrote. Unfortunately, I

Visual Package Manager

2001-05-11 Thread Bill Stennett
Hi All I'm looking at the trial version of the Perl dev Kit at the moment. We use AS Perl under windows NT. Does anyone know if there is a way of getting the VPM to only show modules that are relevant to the platform you are using (in our case WIN32)? Many thanks Bill Stennett WAP Integrators

Re: Perl Development Kit Questions

2001-05-11 Thread Steven Wadding
At 01:42 PM 5/11/01 -0400, Mark Riehl wrote: >How many people are using the Active State Perl Development Kit? Do you >like it? What's the best feature? Worst feature? Would you buy it >again? For the project I'm working on, we are going to distribute an application to many client machines,

Perl Development Kit Questions

2001-05-11 Thread Mark Riehl
All, How many people are using the Active State Perl Development Kit? Do you like it? What's the best feature? Worst feature? Would you buy it again? I'm looking for a few opinions. The reason I ask is that I've got a fairly large upcoming project under Win2k that will involve a lot of CGI/

RE: PerlScript and Internationalization

2001-05-11 Thread Mumper, Jay
I have to include a header like "Content-type: text/html; charset: UTF-8" in my CGI programs to handle multiple character sets. However, I don't know how you customize the headers in Perlscript. -- Jay Mumper -Original Message- From: Scouras Alex [mailto:[EMAIL PROTECTED]] Sent: Thursday

RE: Regexpr-Problem

2001-05-11 Thread Lee Goddard
Brian Raven sig file says: > It's, uh, pseudo code. Yeah, that's the ticket... > [...] > And "unicode" is pseudo code for $encoding. :-) > -- Larry Wall in > <[EMAIL PROTECTED]>˽ã®YŠX‚X´Š÷z¹ŠËz»rØy+µçšm§ÿåŠË > lz»Àrدy+Zµç(›ùšŠYšŸùb²Ø§~Úrدz—« How can I get that article? I'v

Regexpr-Problem

2001-05-11 Thread brianr
Lange writes: > for your understanding: > ô is equal to hexcode xf4 > õ is equal to hexcode xf5 > > > the following problem appeared: > > $var="ôinit1õDresden,ômõ Gewerbeg. Kesselsdorf"; > > After a > $var=~s/(\xf4.*?\xf5)//g; > it´s supposed to keep the fol

Re: Regexpr-Problem

2001-05-11 Thread Philip Newton
Lange wrote: > $var="ôinit1õDresden,ômõ Gewerbeg. Kesselsdorf"; > > After a > > $var=~s/(\xf4.*?\xf5)//g; > > it´s supposed to keep the following: > > "Dresden, Gewerbeg. Kesselsdorf" > > > > With my old version (v5.005_3 build 517) it worked without > any complications. > > with the new

Re: Cleaning up file line endings?

2001-05-11 Thread Philip Newton
[EMAIL PROTECTED] wrote: > I have 300+ text files w/ Mac line endings ... does anyone > know of a module to facilitate cleaning this up? Don't need a module. > Alternatively, does anyone know the escaped character sequence > for Mac line endings carriage return ("\015", or also "\r" on non-Mac

RE: Passing perl variables to Javascript function

2001-05-11 Thread Lee Goddard
> > > I spend half of day trying how can I get variables communicating between > > perl code and javascript. > > In my cgi application , i need to call some javascript function and also > > passing some variables to it. > > However these variables are pre-process in perl script like > $somevariabl

Re: Multi-threaded network calls?

2001-05-11 Thread Jenda Krynicky
> I'm trying to write some basic network troubleshooting scripts. They > work fine, as far as checking server status, uptime, etc. > > My problem is that my network is growing and I need these things to be > FAST. > > Can someone give me a pointer towards what library would help me learn > to o

Debugging (using PDK)

2001-05-11 Thread Petr Smejkal
I would like to put a specific code into my perl source code to stop the script running and bring up the Perl Debugger window. But I don't know how to do it. Following example should be more clear what I'd like to do... perl -d myscript.pl -- myscript.pl .. .. .. for ( my $a = 0 ; $a < 10 ; $a+

Regexpr-Problem

2001-05-11 Thread Lange
for your understanding: ô is equal to hexcode xf4 õ is equal to hexcode xf5 the following problem appeared: $var="ôinit1õDresden,ômõ Gewerbeg. Kesselsdorf"; After a $var=~s/(\xf4.*?\xf5)//g; it´s supposed to keep the following: "Dresden, Gewerbeg. Kesselsdorf" With my old ver

RE: Multi-threaded network calls?

2001-05-11 Thread Williamson, James
Title: RE: Multi-threaded network calls? Gary, check out perl's IPC, especially fork Regards, James -Original Message- From: Gary Warner [mailto:[EMAIL PROTECTED]] Sent: 10 May 2001 21:24 To: [EMAIL PROTECTED] Subject: Multi-threaded network calls?

Re: System and User environment Variables

2001-05-11 Thread guus . teley
Wesley, Here's a small example of how I use Perl for this purpose: use Win32::NetAdmin qw(GetServers); use Win32::TieRegistry(Delimiter=>"/"); sub set_env_vars(); exit set_env_vars(); sub set_env_vars()