RE: Release of ActivePerl 5.8.0

2002-11-14 Thread Harald Wopenka
Yeah, you're (of course) right. I know that regex and I can imagine what difficulties could a rise if corethings get changed. You should not take my mail too serious. In my opinion perl is one of the best and most complete languages. But if someone asks me, if i miss something - "good old trim()" w

Re: RegEx help

2002-11-14 Thread $Bill Luebkert
Bullock, Howard A. wrote: I want to alter some characters in a text variable, but only those between two markers. $text = 'axxxccvvvacasdcxaswrefajjawerasdcxaswrefajhhaasera'; I want to specify the start and the end and only change the a's to 8's between the markers. How do I accomplish this

Re: getopt arrgh!!

2002-11-14 Thread Randy W. Sims
[EMAIL PROTECTED] wrote: I've been trying for an hour or so to use Getopt::Long, but I just don't get it... I've been reading FAQ's & docs but I need some more examples to know how it works. Well, I want to process arguments like: perl command.pl arg_needed [ --flag1 one=something two=otherthing

Re: getopt arrgh!!

2002-11-14 Thread SCOTT_SISSON
Here is a snippet use Date::Manip; use MIME::Lite; use Net::FTP; # # set time zone so Unix Date calls work # &Date_Init ("TZ=EST5EDT"); use vars qw($user, $pass, $server, $filena, $timeout, $passive, $renwdone, $pause,

Re: getopt arrgh!!

2002-11-14 Thread Marcos Lorenzo
Marcos Lorenzo <[EMAIL PROTECTED]> wrote [5:10pm +0100] ML > I've been trying for an hour or so to use Getopt::Long, but I just don't ML > get it... I've been reading FAQ's & docs but I need some more examples to ML > know how it works. ML > ML > Well, I want to process arguments li

getopt arrgh!!

2002-11-14 Thread Marcos Lorenzo
I've been trying for an hour or so to use Getopt::Long, but I just don't get it... I've been reading FAQ's & docs but I need some more examples to know how it works. Well, I want to process arguments like: perl command.pl arg_needed [ --flag1 one=something two=otherthing | --flag2 | --flag3 ] an

Re: [PMX:#] Date substract problem

2002-11-14 Thread $Bill Luebkert
Fernando Freire Baez (Medicare) wrote: Hello, I have an script that have to open and read a file all days in the morning. The script is fine but I have a little doubt about the file name. The file name is the day before the current day, so, for example: today is 11/14/2002 and the name of the fil

RE: [PMX:#] Date substract problem

2002-11-14 Thread Conor Lillis
This will do it for you :- use Time::Local; $today = timelocal(localtime); @yesterday = localtime($today - (24 * 60 * 60)); my ($mday,$mon,$year) = (@yesterday)[3..5]; $mon=++$mon; if ($mon < 10){$mon="0$mon";} if ($mday < 10){$mday="0$mday";} $year=$year+1900; $filename="$mday$mon$year"; prin

[PMX:#] Date substract problem

2002-11-14 Thread Fernando Freire Baez \(Medicare\)
Hello, I have an script that have to open and read a file all days in the morning. The script is fine but I have a little doubt about the file name. The file name is the day before the current day, so, for example: today is 11/14/2002 and the name of the file that the script have to open is 111320

RE: perl.exe - Unable to Locate DLL (RASFIL32.DLL)

2002-11-14 Thread Tillman, James
[snip] > > Title - "perl.exe - Unable to Locate DLL" > > "The dynamic link library RASFIL32.DLL could not be > > found in the specified path " [Perl\bin is in > > my path] > > [snip] > > > > Anyone else ever see this? > > Yes, this is a Windows message. I've seen this type of error message man

RE: Browsing for SMB machines using a network broadcast? (Peter McGowan)

2002-11-14 Thread csaba . raduly
On 14/11/2002 11:17:57 Geoffrey Leeming wrote: >Thanks for the reply. Unfortunately that tells me what the PDC thinks is >there, rather than what necessarily *is* there :-) One of the many reasons I >run this script is to check for unauthorised machines on our physical network, >so I need to ex

RE: Browsing for SMB machines using a network broadcast? (Peter McGowan)

2002-11-14 Thread Geoffrey Leeming
Thanks for the reply. Unfortunately that tells me what the PDC thinks is there, rather than what necessarily *is* there :-) One of the many reasons I run this script is to check for unauthorised machines on our physical network, so I need to explicitly check every machine that's pingable insid

Converting HTML to PDF, acrobat ?

2002-11-14 Thread Thomas Drugeon
Hi! I want to copy web pages in an automated process. I am able to do this unsing LWP, storing each element of a page in a different file (HTML, GIF, etc.). The problem is that I want to store all these in PDF. I have been looking for "HTML2PDF" softs on the web, but none of them seems to do the j

RE: Browsing for SMB machines using a network broadcast? (Peter McGowan)

2002-11-14 Thread Kevin . ADM-Gibbs
You could try using use Win32::NetAdmin. It has a various options for looking at different machines on the network, eg use Win32::NetAdmin::GetServers($Opdc, $dom, SV_TYPE_NT, \%nt); and the keys in %nt will be the NT machines your network, Win32::NetAdmin::GetServers($Opdc, $dom,