Thank you all. Even though I rarely end up writing in perl I always
post questions here because you guys always have top notch responses.
___
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/
I have a 10 gig log file; I currently go
through the log looking at specific fields and do stuff with the particular
rows based on certain conditions. Each row has 12 columns. The only columns
that I need are column 6 and 8. Each column is delimited by “somedata”.
So an example row w
Using the perl dll (which you should do because it's supposed to be much
faster being that it only loads once) is also simple. You would just
put in \perlis.dll (note no %s') instead of \perl.exe "%s"
%s under the home directory configuration. If your're using IIS6 then
you need to also Expand se
>Anyway, the original question is still pending - any chance someone can
>point me at a module, script or code snippet that will let me launch a
>remote process as described in the original email?
Using the service idea you should be able to remote install a service on
whatever box you want it to
>If not, the best thing may simply be to make the field a UNIQUE key (if
>the SQL Server of the Beast will allow it) and /try/ to insert the
>record. If you can't, don't.
Or even better if you can check for existence using something equivalent
to:
If not exists (select uniquevalue from thetable
Hahaha! I use perl infrequently and when I do I use it to use other COM
objects that I write in other languages. But I love the language.
Chris Cappelletti
IT Programmer/Analyst, Sr.
TTM Technologies
Desk: 425-202-9326
Cell: 425-246-8295
[EMAIL PROTECTED]
-Original Message-
From
I don't write regular expressions...ever...
So can someone give me a regular expression that will remove all of the
characters at the start of a string up to and including a "-" (without
quotes).
Chris Cappelletti
IT Programmer/Analyst, Sr.
TTM Technologies
Desk: 425-202-9326
Cell
I
don't know what database you are using, but you should make your database
eliminate all duplicate records before perl ever gets it. For instance using
MS SQL you can use the word DISTINCT as in "select distinct blah"
which will give you one of each "blah" even if you had more than
one.
My approach at any database problem is to write an appropriate dll and use
Win32:OLE to use it...okay so yeah, that doesn't help you in any
way...moving on, I've been tinkering in perl for a few years, but up until a
few weeks ago I didn't write much of anything with it. SQL Server, however,
I kno