Re: Net::DNS::Resolver - IP address to DNS name?

2003-12-22 Thread Jim Hill
Rush, Thomas in <[EMAIL PROTECTED]>: > I have been trying to convert an IP address into it's DNS name using > DNS::Resolver without much joy. Your code, with the exception of "use Net::DNS;" missing at the start, works for me, v5.6.1.635 on win2k. > The return value fails with the following erro

Re: /T in date

2003-12-22 Thread Eric Edwards
Eric wrote: I had tried that at the command line before I sent out this last message. The /T worked in my perl program but not at the command line--just trying to understand why. Eric Tobias Hoellrich wrote: > > C:\>date /? > Displays or sets the date. > > DATE [/T | date] > > Type DATE with

Re: /T in date

2003-12-22 Thread Eric Edwards
Eric wrote: My error. My apologies. Its been a crazy day. Eric > $Bill wrote: It was already answered in that thread. Without the /T, the > date builtin will prompt for a new date (or type CR to just > print it out). So without the /T it will hang waiting for > the new date or CR to be typed.

Re: /T in date

2003-12-22 Thread $Bill Luebkert
Eric Edwards wrote: > Hello list- > $Bill sent me this code today. It works. The /T is what made it work on my > windows system. I have been looking all > over to find out what and why that makes it work. > print `cmd /C date /T`, "\n"; It was already answered in that thread. Without the /T,

RE: /T in date

2003-12-22 Thread Tobias Hoellrich
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Eric Edwards > Sent: Monday, December 22, 2003 9:38 PM > To: [EMAIL PROTECTED] > Subject: /T in date > > > Hello list- > $Bill sent me this code today. It works. The /T is what > made it work on m

creating libraries

2003-12-22 Thread Jeremy A
Hi all, I am working on a solution that i hope to port to linux. I am wondering if there is something similar to windows (com) dll technology, that is for linux, and whether perl can be used to create those libraries in compiled format, eg ( can Perlapp for linux create those libraries, if th

/T in date

2003-12-22 Thread Eric Edwards
Hello list- $Bill sent me this code today. It works. The /T is what made it work on my windows system. I have been looking all over to find out what and why that makes it work. print `cmd /C date /T`, "\n"; Any ideas? Thanks! Eric ___ Perl-Win32-Users

Re: Net::DNS::Resolver - IP address to DNS name?

2003-12-22 Thread Trevor Joerges
Try using the Socket module instead: use strict; use Socket; my $ip = '10.80.0.2'; my $hostname = gethostbyaddr(inet_aton("$ip"), AF_INET); if ($hostname) { printf "%-15s %-25s\n", $ip, $hostname; } else { printf "%-15s Resolution failed!\n", $ip; } HTH Trevor Joerges - Original Message -

Re: build perl 5.8.1 with gcc-3.3.1 w32api-2.4 and dmake-4.1pl1-win32

2003-12-22 Thread Bobber Cheng
Hi,Sisyphus, Thanks for ur help, i used to download perl 5.8.1 source from perl.org. ActivePerl 5.8.2 is complied successfully and pass most test. I just wonder except add ppm and additional ISAPI support i never use it in a million years, what's the most difference? Sisyphus wrote: Bobber C

Re: Pop3-server, octets?

2003-12-22 Thread $Bill Luebkert
Magnus Lindgren wrote: > Hi everybody! > > I'm writing a pop3-server and I'm stuck with a hopefully simple problem. In > the communication between the servern and the client the server is supposed > to return the size of the message in octets.. ok, so on the bit-level I'm > not as good as I would

Re: Cygwin Perl?

2003-12-22 Thread Sisyphus
Peter Davis wrote: Are there good resources for getting help with Cygwin Perl issues? I have a script which runs fine on one machine, but dies with a "Signal 11" error on another. In fact, on the troublesome machine, I can't even run 'perl -c ...'. It gives me Segmentation fault (core dumpe

Re: build perl 5.8.1 with gcc-3.3.1 w32api-2.4 and dmake-4.1pl1-win32

2003-12-22 Thread Sisyphus
Bobber Cheng wrote: Hi, Have anyone successfully built perl 5.8.1 on MingW with gcc-3.3.1, w32api-2.4 and dmake-4.1pl1-win32? I compile it smoothly, but when i run "dmake test", perl.exe crashed, What source code are you using ? Try the source code from ActiveState (for their latest build) if

Re: unsubscribe

2003-12-22 Thread Ted S.
Todd Enright graced perl with these words of wisdom: >xmlns:w="urn:schemas-microsoft-com:office:word" >xmlns="http://www.w3.org/TR/REC-html40";> > [125 more lines of MS HTML bloat deleted] At the bottom of every message from the group is the following: Perl-Win32-Users mailing list [EMAIL PRO

Pop3-server, octets?

2003-12-22 Thread Magnus Lindgren
Hi everybody! I'm writing a pop3-server and I'm stuck with a hopefully simple problem. In the communication between the servern and the client the server is supposed to return the size of the message in octets.. ok, so on the bit-level I'm not as good as I would think I am. Octets are groups of 8

Cygwin Perl?

2003-12-22 Thread Peter Davis
Are there good resources for getting help with Cygwin Perl issues? I have a script which runs fine on one machine, but dies with a "Signal 11" error on another. In fact, on the troublesome machine, I can't even run 'perl -c ...'. It gives me Segmentation fault (core dumped) Any clues? T

Net::DNS::Resolver - IP address to DNS name?

2003-12-22 Thread Rush, Thomas
I have been trying to convert an IP address into it's DNS name using DNS::Resolver without much joy. I have used DNS::Resolver to convert DNS names to IP addresses successfully.   OS: WIN32 Perl V 5.8.2   The return value fails with the following error message: query failed: NXDOMAI