RE: filename sorting by last letter in the filename

2005-10-11 Thread Allegakoen, Justin Devanandan
-8- #build an array of our alphabet @halfabet = qw/a b c d e f g h i j k l m n o p r s t u v z/; -8- my @halfabet; push @halfabet, $_ for 'a'..'z'; Nicer, and compiles under strict and warnings which Steve seems to have left out. Cheers Just in

Re: filename sorting by last letter in the filename

2005-10-11 Thread Miha Radej
Hi! Steve Dawson wrote: Have you considered asking the users to use a numeric sequenceon the files? Yes, I have. The problem is they have used the aforementioned nomenclature from the DOS era and their answer was along the lines of we've been doing this since the dawn of mankind and we

Re: filename sorting by last letter in the filename

2005-10-11 Thread Steve Dawson
Allegakoen, Justin Devanandan wrote: -8- #build an array of our alphabet @halfabet = qw/a b c d e f g h i j k l m n o p r s t u v z/; -8- my @halfabet; push @halfabet, $_ for 'a'..'z'; Nicer, and compiles under strict and warnings which Steve seems to have left out.

Re: filename sorting by last letter in the filename

2005-10-11 Thread Steve Dawson
pDale wrote: Ancillary moral: A bad illustration can muck up an otherwise perfectly good post... http://www.snopes.com/business/genius/spacepen.asp The lesson of this anecdote is a valid one, that we sometimes expend a great deal of time, effort, and money to create a high-tech

ADO Searching for AD objectGUID

2005-10-11 Thread Paul Sobey
When searching Active Directory for the objectGUID attribute using ADO, I can convert the returned GUID to a string value with the following: $stringGUID = unpack("H*", $binaryGUID); This yields a string like this: b63e4661ea6fc545a88e103e54b8dc41, the same as that given when binding to

RE: ADO Searching for AD objectGUID

2005-10-11 Thread Bullock, Howard A.
When searching Active Directory for the objectGUID attribute using ADO, I can convert the returned GUID to a string value with the following:   $stringGUID = unpack(H*, $binaryGUID);   This yields a string like this: b63e4661ea6fc545a88e103e54b8dc41, the same as that given when binding to an

send a UDP paket without a session

2005-10-11 Thread Markus
Hi all, have someone a idea how to generate UPD packets and send out on a Ethernet adapter without a established session. I need this to generate RIP routes generation. The default destination definition are: * source IP equal the own IP interface, * destination IP 224.0.0.9, UDP

RE: send a UDP paket without a session

2005-10-11 Thread Peter Eisengrein
There is a Net::UDP module. It doesn't mention whether it is stateless, but since it is UDP I would have to assume it is. -Original Message-From: Markus [mailto:[EMAIL PROTECTED]Sent: Tuesday, October 11, 2005 11:25 AMTo: perl-win32-users@listserv.ActiveState.comSubject:

Re: send a UDP paket without a session

2005-10-11 Thread $Bill Luebkert
Peter Eisengrein wrote: There is a Net::UDP module. It doesn't mention whether it is stateless, but since it is UDP I would have to assume it is. Stateless or connectionless - Mr Top Poster ? All UDP is connectionless and I would think all sockets have at least some state information - but

Re: send a UDP paket without a session

2005-10-11 Thread Bob Davis
Markus wrote: Hi all, have someone a idea how to generate UPD packets and send out on a Ethernet adapter without a established session. I need this to generate RIP routes generation. The default destination definition are: * source IP equal the own IP interface, * destination IP

escaping characters

2005-10-11 Thread Hsu, David
Hi all, I'm having trouble formatting a SQL statement. Here's what I have: $SQL = ... ((Measurements.msmTag)=\'tag\') AND(Targets.TargetID)=187) ...; When I do a screen print I get: ... ((Measurements.msmTag)='') ... If I escape the $SQL = ...

Re: escaping characters

2005-10-11 Thread Luke Bakken
Hi all, I'm having trouble formatting a SQL statement. Here's what I have: $SQL = ... ((Measurements.msmTag)=\'tag\') AND(Targets.TargetID)=187) ...; When I do a screen print I get: ... ((Measurements.msmTag)='') ... If I escape the $SQL = ...

crypt::randpasswd won't install today

2005-10-11 Thread Forrest Payne
All, I have 50 Windows servers that I've been upgrading scripts on the past few weeks. Part of tha process is going to the latest version of Perl and using PPM to install 3 modules. On every server I want to install the crypt::randpasswd through ppm. I've completed 30 so far and just did 4

RE: filename sorting by last letter in the filename

2005-10-11 Thread Allegakoen, Justin Devanandan
8- You've included q,w,x,y which were not part of the characters in @halfabet. It wasn't just my bad typing, it was a part of the problem. 8- Yeah, my bad. I guess your comment threw me off . . . 8- push @halfabet, $_ for 'a'..'p','s'..'v','z'; But I think

Re: escaping characters

2005-10-11 Thread $Bill Luebkert
Hsu, David wrote: Hi all, I'm having trouble formatting a SQL statement. Here's what I have: $SQL = ... ((Measurements.msmTag)=\'tag\') AND(Targets.TargetID)=187) ...; \' is the same as '. When I do a screen print I get: ... ((Measurements.msmTag)='') ... If I

Re: crypt::randpasswd won't install today

2005-10-11 Thread Randy Kobes
On Tue, 11 Oct 2005, Forrest Payne wrote: All, I have 50 Windows servers that I've been upgrading scripts on the past few weeks. Part of tha process is going to the latest version of Perl and using PPM to install 3 modules. On every server I want to install the crypt::randpasswd through