Re: Regular expression help

2001-11-30 Thread $Bill Luebkert
linkagent wrote: > - Original Message - > From: "Ron Hartikka" <[EMAIL PROTECTED]> > >>for $number (1006326869812, 563296853235993 , 35968322963568389){ >>print "$1-$2-$3\n" if ($number =~ /(\d*)(\d{4})(\d{5})/); >> > > I need members help on this; > Q1)As far as I know, \d* means m

Re: Regular expression help

2001-11-30 Thread linkagent
- Original Message - From: "Ron Hartikka" <[EMAIL PROTECTED]> > for $number (1006326869812, 563296853235993 , 35968322963568389){ > print "$1-$2-$3\n" if ($number =~ /(\d*)(\d{4})(\d{5})/); I need members help on this; Q1)As far as I know, \d* means match either 0 or more digits, sinc

Re: Nmake ppd yields fatal error u1077

2001-11-30 Thread Sisyphus
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 3:53 PM Subject: Nmake ppd yields fatal error u1077 > > When I try to do the last step (nmake ppd) I get the following: > > Microsoft (R) Program Maintenance Utility Version 6.00

Re: background process on windows 2000

2001-11-30 Thread Marcus
On 30.11.01 at 18:33 David Edrich wrote: >I had a similar situation, didn't really like Win32::Process, fork didn't >work, I don't think it does outside of Unix, either one seems complicated >to me. Instead I just wrote the data to a queue in a file and had another >'background' process poll the f

Re: background process on windows 2000

2001-11-30 Thread David Edrich
I had a similar situation, didn't really like Win32::Process, fork didn't work, I don't think it does outside of Unix, either one seems complicated to me. Instead I just wrote the data to a queue in a file and had another 'background' process poll the file every 10 seconds to see if t

Re: background process on windows 2000

2001-11-30 Thread Mark G. Franz
A .dll would probably be more efficient than leaving a process executing in the background, or even a stored procedure... It has been my experience that any process left hanging ~might~ leave a potential hole open to intrusion... Mark - Original Message - From: "$Bill Luebkert" <[EMAIL P

RE: Writing Large Text Files Quickly

2001-11-30 Thread Scot Robnett
I second the "binmode" suggestion. You can unpack ascii out of a binary file faster than you can step through a text file and write it. Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jaime Teng S

RE: Help re finding file or its path

2001-11-30 Thread Thiebaud Richard
Bill Luebkbert wrote: > I think he wants: > > print "script name: $0\n"; > > use FindBin qw($RealScript $RealDir); > print "fully qualified script name: $RealDir/$RealScript\n"; > Alternately under Win32, if using Perl 5.6: use Win32; my ($scriptpath, $scriptname) = Win32::

Re: background process on windows 2000

2001-11-30 Thread $Bill Luebkert
sunil matte wrote: > hi >i am trying to start a detached process in perl. I > am building a web based application,where a user > queries the database on my server.the query triggers > an agent that updates the database. i want the agent > to be a back ground process so that the user should >

Re: Help re finding file or its path

2001-11-30 Thread $Bill Luebkert
Marcus wrote: > On 30.11.01 at 14:49 Dick Penny wrote: > >>Also how to get the path to the script that is currently executing? >> > > I think you mean: > > $home_dir = $^X; That's where you find Perl. I think he wants: print "script name: $0\n"; use FindBin qw($RealScript

Re: Help re finding file or its path

2001-11-30 Thread Marcus
On 30.11.01 at 14:49 Dick Penny wrote: >I've looked at docs for File::Find which seems appropriate, but cannot >understand the documentation. File::Find is for recursing subdirectories. Try this. find (\&mysub, $dir); sub mysub { print "$File::Find::name\n"; } >Also how to get the path to

Re: perl tk UI editor

2001-11-30 Thread Marcus
On 30.11.01 at 13:48 Leo Johan Susanto wrote: >Does any one know any good UI editor for Perl Tk? Well, there's a new project on Sourceforge called Guido working on a new Perl/Tk gui builder. For now, I use SpecPerl/SpecTcl. See the Tcl website. It's at: scriptics.com Marcus __

background process on windows 2000

2001-11-30 Thread sunil matte
hi i am trying to start a detached process in perl. I am building a web based application,where a user queries the database on my server.the query triggers an agent that updates the database. i want the agent to be a back ground process so that the user should not be left waiting for it to com

Help re finding file or its path

2001-11-30 Thread Dick Penny
Two newbie Q's, but after 1.5 hrs with documentation cannot find answers. Am simply trying to give my script a file name and have the script figure out the full path so that I can open the file. Ideally I don't want any assumptions about where the file is except that it is unique. I've look

perl tk UI editor

2001-11-30 Thread Leo Johan Susanto
Hi All, Does any one know any good UI editor for Perl Tk? Leo _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http:

Re: Q: Accessing Windows Printers

2001-11-30 Thread Stephen Patterson
On 23 Nov 01, Jaime Teng ([EMAIL PROTECTED]) wrote: > Hi, > > In line with my previous query regarding perl accessing > windows printers; I'd like to know if anyone has tried > successfully printing JPEG or BMP or GIF files to > Windows printers? > > I heard that in order to print in windows, th

Re: Here's a little util to show your server/perl setup

2001-11-30 Thread Carl Jolley
On Thu, 29 Nov 2001, John Deurbrouck wrote: > This is a sort of long post. It's just a tool I built so I could > check out the configuration of the server at my website. > I'm new to perl, so maybe this is all really easy and > convenient for everyone, in which case, sorry for the > long post. >

Re: help walking directories

2001-11-30 Thread Carl Jolley
On Thu, 29 Nov 2001, Dick Penny wrote: > I'm not that great at Perl, nor can I figure out how to get the Debugger > to help me. The following must sort of kill itself after the 4th line, > because none of the "prints" trigger after the "readdir". Am running > this from a command line window under