RE: Help with Array of Arrays

2011-03-08 Thread Thurn, Martin (TASC)
f not copying the entire list when you do the push.  - - Martin ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Need help with TK: scrollable adjustable columns of text

2010-08-23 Thread Thurn, Martin (TASC)
I am using Tk::TableMatrix::Spreadsheet in my application - - Martin ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Redirecting STDOUT

2007-04-02 Thread Martin . Miller
ut (Stdout & Stderr) are both captured in the $status variable. Hope this helps, (and I hope that's what you were asking) And Chris answered: >Hi Martin, >Thanks. >The output from what is captured? The output from the "dir" command. > Let me elaborate on what I&#x

RE: Second Question-best way to enumerate Process

2006-06-08 Thread Martin, Greg (RTIS)
How about using WMI to register and event that get's notified of new processes?   I found this reference page: http://weblogs.foxite.com/stuartdunkeld/archive/2005/09/16/915.aspx   \\Greg   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim HansenSent: Thursday, June 08,

RE: WMI problem ?

2005-12-30 Thread Martin, Greg (RTIS)
Have you looked at these? http://support.microsoft.com/default.aspx?scid=kb;EN-US;q282949 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/ impersonating_a_client.asp http://windowssdk.msdn.microsoft.com/library/default.asp?url=/library/en-us/ IISSdk/html/9a74da49-29c

RE: How to let a perl script quit when Windows shut down?

2005-11-15 Thread Martin, Greg (RTIS)
I haven't used this, but it allows you to install your script to run as a service, you should be able to modify the service definition to change the user to a logged in user. (BTW, If it need to interact with the desktop, you'll need to ensure you are on console:0 to see it. In general, only

RE: how to interact with an endless loop

2005-10-06 Thread Martin, Greg (RTIS)
You could try reading from STDIN and either quit on a Ctrl-Z or some other character Ex: #this reads in what you type and prints it #entering ctrl-Z is seen as a blank line and quits while () { print; } \\Greg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

More on Gtk2

2005-09-22 Thread Martin, Greg (RTIS)
Title: More on Gtk2 Ok, so I moved on to another problem with my Gtk2 script.  This time I'm trying to use Simplemenu.pm to build simpler menus. By now I've wasted more time than I've saved, but there is a lesson in here somewhere! I get an error that says:  Can't use an undefined value as an

gtk2

2005-09-20 Thread Martin, Greg (RTIS)
Title: gtk2 I'm new to gtk and (not too experienced at Perl either!).  I'm taking a stab at porting NagiosWatch so it will run under Windows. The big problem was I couldn't find gtk1 .dlls so I switched it to gtk2.  It went well and I have a working version.  What I'm trying to solve at the mo

Extutils::pkgconfig

2005-09-16 Thread Martin, Greg (RTIS)
Title: Extutils::pkgconfig Does anyone know where I can find this package for windows?  A search in ppm3 does not find it. Thanks \\Greg ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listser

UNIX utilities in Perl

2004-11-10 Thread Martin Leese
re? Should they be? What additional UNIX utilities would be useful? (Above, I suggest diff and sort.) What would be *really* useful is a method to pipe filters together. Regards, Martin ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscri

How remove newlines?

2004-11-05 Thread Martin Leese
statements will work on both Windows and UNIX, and with text originating on both Windows and UNIX. I welcome improvements. Also, how do I accommodate Macs? Many thanks, Martin ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http

Re: Date format patterns

2004-10-29 Thread Martin Leese
was whether it would be possible to use stuff in the registry to tell the locale, and to then use the locale to predict the date format. Best of luck, Martin ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: [PHP] people/projects looking for developers...

2004-10-19 Thread Martin Leese
pital companies, and now runs a consultancy preparing start-ups for their initial encounter with a VC company. He describes the process as going out and finding people in pain. You then develop a product to remove their pain (for a price). This is off topic, so maybe contin

Re: simple regex question

2004-10-15 Thread Martin Leese
$foo = "foo.txt"; my $ans = fileparse($foo, ('.txt')); print "$ans\n"; Regards, Martin ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Reading Locked PDF files

2004-10-08 Thread Martin Leese
pdftotext.exe -layout" from the free Swish-e package, http://swish-e.org/ Having converted the PDF file to text, I then used Perl to unpick it. "If at first you don't succeed, try, try again. Then quit. No use being a damn fool about it." [

Re: problems with text encoding

2004-10-07 Thread Martin Leese
2 character encoding; this is the same as ISO-8859-1 (I think). So, your problem is how to convert from ISO-8859-1 (also called Latin-1) to UTF-8. Look on CPAN http://search.cpan.org/ for "Encode" and then try using: $string = decode("iso-8859-1", $octets); Regards, Martin ___

Re: a regex to remove characters...

2004-06-11 Thread Martin Leese
st "/"... Not a regex, but try: #!/usr/bin/perl # use File::Basename; # use strict; use warnings; # my $foo = "http://ww.rr.bb/cat/dog/index.html";; my (undef, $directory, undef) = fileparse($foo); print $directory; # exit(0); Regards, Martin ___

RE: converting dates..

2004-06-11 Thread Martin Leese
{ $number = "09"; } elsif ($month =~ m/^October$/i) # /i = ignore case { $number = "10"; } elsif ($month =~ m/^November$/i) # /i = ignore case { $number = "11"; } elsif ($month =~ m/^December$/i) # /i = ignore case {

Re: perl/spider/crawling question...

2004-05-27 Thread Martin Leese
equested to do so. Visit: http://www.robotstxt.org/wc/exclusion.html Also, a good place to start would be The Web Robots FAQ at http://www.robotstxt.org/wc/faq.html This suggests a book or three on spiders. Regards, Martin ___ Perl-Win32-Users ma

RE: Outlook 98

2004-05-13 Thread Martin Bower
nope, that didn't work. I couldn't find that entry in my ole object browser. I did find this link to a sender address, so can anyone help me how to access it ?? MailItem Class (as olObjectClass) olObjectClass olAddressEntry (Const olAddressEntries = 8) AddressEntry->{Add

Re: undef example

2004-05-07 Thread Martin Leese
e. Why? To quote "Programming Perl": The official name of a subroutine includes the & prefix. A subroutine may be called using the prefix, but the & is usually optional. When used with parentheses, the & does nothing differently. Including it

searching a file for keywords

2004-04-15 Thread Martin Leese
ore and aft then maybe you have some other nonword character(s). Regards, Martin ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: help needed

2004-04-06 Thread Martin Leese
oth in separate chapters and as a single lump. Regards, Martin ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

small text files give empty socket?

2004-04-05 Thread Martin Leese
ing to a pipe, such as when you are running a Perl script under rsh and want to see the output as it's happening. This has no effect on input buffering. (Mnemonic: when you want your pipes to be piping hot.) Regards, Martin ___ Perl-Win32-Use

RE to split on every other comma

2004-03-26 Thread Martin Leese
s[$loop/2], "\"\n"; ### DEBUG ### } # exit(0); I strip leading and trailing white space elsewhere, so that is not a problem. Many thanks for any help you can give. Regards, Martin ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Perl-Win32-Users Digest, Vol 2, Issue 14

2004-03-12 Thread Martin Leese
x27;t find" if -e $filename; >> while () { >>chomp; >> ($name, $address, $city, $state, $zip) = split(/:/); >>write ADDRESSLABEL; >> } Haven't tried this, but try closing the output file. close(ADDRESSLABEL) or die "can't close ADDRESSLABEL: $!"; >> print "Done!"; >> exit; Regards, Martin ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Simple text editor under Windows

2004-03-02 Thread Martin Leese
ld use MS Word (Edit->Find->Go To->Line) but this seems like overkill. My background is UNIX under which I used "vi" to edit text files. I can probably find a port of "vi" to Windows NT, but wondered what others use. Many thanks for any help you can give. Regards,

searching for ppms

2004-03-01 Thread Martin Leese
ges on the ActiveState, crazyinsomniac, and theoryx5 repositories (both 6xx and 8xx builds) - Please, is the URL I put into PPM for crazyinsomniac build 8xx http://crazyinsomniac.perlmonk.org/perl/ppm/5.8/ Still struggling a little with PPM. Many thanks,

Re: installing modules on Unix server

2004-03-01 Thread Martin Leese
Howard Owen <[EMAIL PROTECTED]> wrote: perl -MThe::Module::Name On Fri, 2004-02-27 at 11:55, Lori wrote: My main question: Is there a way to tell if I already have these modules before I attempt to install them ? PPM query * I have not used Perl under UNIX, so this may not work. Regards, ___

Re: Pipe and redirect STDOUT

2004-02-23 Thread Martin Leese
nd and, although my problem has not been solved, my problem is no longer a problem. Martin Leese wrote: Hi, I know this is a really dumb question (yes, there are dumb questions), but I am stuck. Why can I neither pipe the output from a perl script to "more" nor redirect it to a fil

RE: PErl Script to start server service

2003-12-18 Thread Martin . Jones
Thanks I'll give that a go Rgds Martin ** This E-Mail is strictly confidential and intended solely for the person or organisation to whom it is addressed. It may contain privileged and confidential information and i

PErl Script to start server service

2003-12-18 Thread Martin . Jones
Guys Does anyone know a way of using perl to start the server service on NT 4 I'm using the latest version of ActiveState perl through Komodo 2.5 Rgds Martin ** This E-Mail is strictly confidential and intended solel

RE: Sybperl

2003-09-29 Thread Martin Bower
DBI, great module. you'll also need DBD:Sybase make sure you have the correct entries in your dsedit, and can ping the databases, then add some code like below. Follow the instructions in 'perldoc DBI', there's lots of ways to execute SQL and return the data. Martin

RE: Win32::OLE

2003-09-18 Thread Martin Bower
ok , last question(s)promise 1. how can I get the current window status? (e.g is it minimised?). I found a Win32 call IsWindowVisible(HWND hWnd) , but am unsure of how to call this. 2. where's a good place/book to pick up Win32::API programming ? Martin -Original Message-

RE: Win32::OLE

2003-09-18 Thread Martin Bower
e,9); thanks for your help, it's very much appreciated. Martin -Original Message- From: Groenwold, Harmen (ICT) (HK) [mailto:[EMAIL PROTECTED] Sent: 18 September 2003 14:42 To: 'Martin Bower'; [EMAIL PROTECTED] Subject: RE: Win32::OLE Hi, This took me a while to figure out, b

Windows make environment

2003-09-10 Thread Martin Bower
Can anyone tell me exactly what I need to create an environment in windows, where I can compile my own modules ? I can do this under Solaris fine, but am unsure of the programs I need in MS to do this. It needs to be opensource if possible, as I don't have a compiler installed. Cheers M

Re: Perl dereference methods

2003-09-08 Thread Martin Moss
not sure what the difference is, apart from lazy programming. But if:- %rhsh=('hello_ref'=>{'hello'=>'greetings'}); you need to use the '{}' as you would refer to the hello_ref hashref as my %hello_hash=%{$rhsh{hello_ref}}; I don't think this would work:- my %hello_hash=%$rhsh-hello_ref}; You

Win32::ODBC Issue

2003-08-29 Thread Martin, Stanley G [GMG]
gets added except it doesn't add everything, like the ServerName which is the name in the Oracle tnsnames.ora file. I have to go in and manually add it to the DSN. Any ideas why? Stanley G. Martin System Administrator Sprint - EIS3 Customer Care [EMAIL PROTECTED] ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Listing Objects Parent Classes

2003-08-24 Thread Martin Moss
cheers Mate, (B (BMarty (B- Original Message - (BFrom: "Burak Gursoy" <[EMAIL PROTECTED]> (BTo: <[EMAIL PROTECTED]> (BSent: Sunday, August 24, 2003 6:17 PM (BSubject: RE: Listing Objects Parent Classes (B (B (B> ref($obj) returns the class name and then you can search the class'

Listing Objects Parent Classes

2003-08-24 Thread Martin Moss
All, (B (BIs there a way to take an object reference, and from that object reference (Bget a list of the classes that that class inherits from (or is a subclass (Bof). OR from within a class, how would I do this so I could write the above (Bmethod? (B (BRegards (B (BMarty (B (B (B--- (

Re: [Perl-unix-users] Thoritical limits on perl processes

2003-08-18 Thread Martin Moss
Title: RE: [Perl-unix-users] Thoritical limits on perl processes Hi,   You may also want to ask yourself whether reading the whole file into memory rather than processing it line by line is a good idea if the file size is large. This all depends on what you are doing with the file's contents

Win32::ODBC Question

2003-08-01 Thread Martin, Stanley G [GMG]
x27;t find anything that pulls all this info out, just how to put it in. Stanley G. Martin System Administrator Sprint - EIS3 Customer Care [EMAIL PROTECTED] ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.c

Re: OH NOOO SPAM ATTACK!

2003-07-10 Thread Martin Moss
Perhaps the list manager could change the listmail software so that the 'from' address is always the Mailinglist address. That way nobody but the individual who is subscribed can see their own email address. It would also help ensure that replies to peoples posts are ALL posted through the board so

bugbear virus

2003-06-06 Thread Martin Moss
Anybody else getting the bugbear emails coming from someone on this list? I'm also getting it from Redhat mailing list. Marty ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Scripting for MOM

2003-03-19 Thread Stanley . G . Martin
Has anyone done any scripting for the Microsoft Operations Manager (MOM) yet? I just started to eval it for my group here in Sprint and was wondering if it was going to be very flexible, where I could add my own scripts to it. Stanley G. Martin Sprint - EIS³ Customer Care [EMAIL PROTECTED] <>

Re: SNMP

2003-01-17 Thread Martin Moss
Net::SNMP   It's quite simple to use. But it depends on whether you are writing something to generate snmp, or to process SNMP ,   Marty - Original Message - From: Fontenot, Paul To: [EMAIL PROTECTED] Sent: Friday, January 17, 2003 7:01 PM Subject: SNMP Ca

RE: LWP Question

2003-01-17 Thread Stanley . G . Martin
Explain IE-specific gar. It's running on a Win2k box and IIS 5.0 Stanley G. Martin Sprint - ISS Enterprise App/Decision Support Services [EMAIL PROTECTED] -Original Message- From: pedro [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 10:42 AM To: Stanley.G.Martin Cc:

LWP Question

2003-01-17 Thread Stanley . G . Martin
redentials. Anybody had any experience with this or something like it? Stanley G. Martin Sprint - EIS³ Customer Care [EMAIL PROTECTED] <>

hash of hashes-- preserve insertion order

2003-01-17 Thread James S. Martin
I have a multi-level hash (about 4 hashes deep) and I want to keep the insertion order of the keys in which it was created. I've tried use Tie::IxHash but it doesn't seem to handle the keys in the sub-hashes. Is there a better way to do this? Thanks, James ___

Re: [Perl-unix-users] listing subroutines defined locally in a class

2003-01-10 Thread Martin Moss
t;[EMAIL PROTECTED]> To: "Martin Moss" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 7:09 PM Subject: Re: [Perl-unix-users] listing subroutines defined locally in a class > take me off the list > > On Fri, 10

listing subroutines defined locally in a class

2003-01-10 Thread Martin Moss
All,   I want to be able to take a class and in it's 'new' subroutine do a check to ensure that each class has been given configuration information for each subroutine it has defined locally within that class. The problem I have is that I don't know how to differentiate between methods create

Duplicate Entries in Array

2003-01-07 Thread Stanley . G . Martin
new about Perl. Stanley G. Martin Sprint - EIS³ Customer Care [EMAIL PROTECTED] <>

RE: date compare in sql ???

2002-12-27 Thread Stanley . G . Martin
This will get records where the date is within 30 days of today: WHERE TO_DAYS(NOW()) - TO_DAYS(DATE_FIELD) <= 30 TO_DAYS is a function in MySql. There are a number of these type functions. Stanley G. Martin Sprint - ISS Enterprise App/Decision Support Services [EMAIL PROTEC

Re: how to get the command line from code ?

2002-12-10 Thread Martin Moss
Title: Message Not sure what you're asking for, but it you want the return value when you run an external code you would use backticks:-   my @return=`/path/to/parser $arg $arg`;   I think this puts each line of the response into a new row in the @return array. I'm not 100% sure on this thou

Re: Modules for a website...Where to place.

2002-12-10 Thread Martin Moss
Original Message-From: Martin Moss [mailto:[EMAIL PROTECTED]]Sent: Tuesday, December 10, 2002 12:51 PMTo: George Gallen; [EMAIL PROTECTED]Subject: Re: Modules for a website...Where to place. hm,   to trap the error you could put the code in an eval

Re: Modules for a website...Where to place.

2002-12-10 Thread Martin Moss
rint HTTPOUT "$dir\/Text\/CSV\.pm Not Found!\n"   }}   and it DID find ./Text/CSV and I checked, pwd was ".../cgi-bin"   Any ideas what the internal error could be? Could it be a permissions issue? I set "x" for CSV.pm for group and other  

Re: Modules for a website...Where to place.

2002-12-10 Thread Martin Moss
to Intel machine (both Linux/Win98), but the   webhost is running on a Sparc/RAQ machine.   I don't think the webhost is blocking adding on the include path. -Original Message-From: Martin Moss [mailto:[EMAIL PROTECTED]]Sent: Tuesday, December 10, 2002 10:47 AMTo

Re: Modules for a website...Where to place.

2002-12-10 Thread Martin Moss
then   use lib '.'; use mymodules;   Can I mix and match that way? Thanks for the info   George -Original Message-From: Martin Moss [mailto:[EMAIL PROTECTED]]Sent: Tuesday, December 10, 2002 10:03 AMTo: George Gallen; [EMAIL PROTECTED]Su

Re: Modules for a website...Where to place.

2002-12-10 Thread Martin Moss
Title: RE: Ping routine correct? try use lib '.'; use mymodule;   Marty - Original Message - From: George Gallen To: [EMAIL PROTECTED] Sent: Tuesday, December 10, 2002 3:05 PM Subject: Modules for a website...Where to place. I need to use a perl module

Re: Help me, I m a 13 year old newbie.

2002-12-06 Thread Martin
If you just want to code and don't care much for installation issues, have a look at http://www.apachefriends.org/ -> WAMPP (Apache, Mysql, Perl&Php and some other stuff like PHPmyAdmin for Windows) or LAMPP (Apache, Mysql, Perl&PHP, phpMyAdmin, proFTP, OpenSSL, GD and so on for Linux). I've alrea

Re: Newbie Question

2002-11-21 Thread Martin Moss
Hi Laura, you can use require '../../myperlscript.pl'; However I would advise you go down the .pm route. changing a .pl file into a .pm module isn't too big a hassle - simply ensure your script is well structured using subroutines then write a parent .pl script to use that module and call each

Re: Starting Netscape - default browser

2002-11-21 Thread Martin Moss
Hi Laura, Is there a specific reason to start Netscape over Explorer? Or is it that you want to open the 'default' browser? The following code will open the user's 'default' browser. If this was configured to be netscape, then netscape would open. As to opening Netscape specifically, I haven't go

Re: Daemon Status

2002-11-18 Thread Martin Moss
Are you able to write the daemon as well? Or are you talking about writing a perl script to monitor an already existing daemon?   You really need to give out more details to allow us to give you an answer,   Regards   Marty - Original Message - From: Mundell, R. (Ronald)

Re: Outlook, Perl & OLE - Journal Entries?

2002-11-06 Thread Martin Moss
Just as a matter of interest has anybody found a way to manipulate journal entries, and perhaps merge them between different computers? Marty - Original Message - From: "Ricci, Mark" <[EMAIL PROTECTED]> To: "Perl-Win32-Users" <[EMAIL PROTECTED]> Sent: Wednesday, November 06, 2002 2:30

RE: Updating wins problem

2002-10-31 Thread Stanley . G . Martin
I've seen this problem when I include the line: use Win32; To get around it, whenever I use a function from Win32 I simply fully qualify it. Ex. $machine = Win32::NodeName(); I can then remove the 'use Win32' line. Stanley G. Martin Sprint - ISS Enterprise App/Decision S

Re: pipes and blocking

2002-10-29 Thread Martin Hudec
Hello David, hmmm i am wondering if use of Threads module will not do the work for you...it works same on win and on unix.but i think it will need to recode your applicationnot sure bout it.. -- Best regards, Martinmailto:corwin@;corwin.sk Tuesday, October

Problem with Date::Manip

2002-10-25 Thread Stanley . G . Martin
date3\n"; The output looks like this: date1 => 2002101714:59:00 date2 => 2002102510:47:56 date3 => +0:0:1:0:19:48:56 There's defintely 7+ days between these two dates, it shows 0 days, 19 hours, 48 minutes, 56 seconds. Is this a bug? Is my use of DateCalc incorrect? Or is the

Re: Perl dev kit v5

2002-10-16 Thread Martin Hudec
BRq> R. BRq> ___ BRq> Perl-Win32-Users mailing list BRq> [EMAIL PROTECTED] BRq> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs -- Best regards, Martinmailto:[EMAIL PROTECTED] _

Re: use require question

2002-10-02 Thread Martin Moss
You want to write yourself a perl Module. And then use the use Mymod($var1,$var2); Method you will need to write a Module which uses exporter to export the variables into your second script. Take a look at http://www.perldoc.com/perl5.6.1/pod/perlmod.html Marty - Original Message - Fr

Perl Script as a Service

2002-09-23 Thread Stanley . G . Martin
7;, parameters =>'d:\perl\bin\script.pl', ); if( Win32::Daemon::CreateService( \%Hash ) ) { print "Successfully added.\n"; } else { print "Failed to add service: " . GetError() . "\n"; } print "finished.\n"; sub DumpError { p

RE: Uptime of remote system??

2002-09-04 Thread Stanley . G . Martin
    $Cnf{"GlobalCnf"} = "D:\\Perl\\Site\\Lib\\Date\\Manip.cnf";   This tells Manip.pm to use the file Manip to get it's global settings.   Your installation tree may differ. Stanley G. Martin Sprint - ISS Enterprise App/Decision Support Services [EMAIL PROTECTED]

RE: Uptime of remote system??

2002-09-04 Thread Stanley . G . Martin
f period $os_lastboot = &DateCalc($os_lastboot, "+ 300 minutes"); # time offset $os_lastboot = &UnixDate($os_lastboot, "%Y-%m-%d %T"); # convert to readable time Stanley G. Martin Sprint - ISS Enterprise App/Decision Support Services 913.315.457

Re: [Perl-unix-users] Erroneous EOF?

2002-08-30 Thread Martin Moss
How big is the log file? Have you exceeded the maximum size limit for a file? Marty - Original Message - From: "Mark Breslauer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc: "Mark Breslauer" <[EMAIL PROTECTED]> Sent: Friday, August 16, 2002 3:16 PM Subject: [Perl-un

Re: [Perl-unix-users] structuring languge dependent code

2002-08-30 Thread Martin Moss
d.   Marty - Original Message - From: Peter Eisengrein To: 'Martin Moss' ; [EMAIL PROTECTED] Sent: Friday, August 16, 2002 2:40 PM Subject: RE: [Perl-unix-users] structuring languge dependent code I would expect the users' default language would be in the

Re: [Perl-unix-users] structuring languge dependent code

2002-08-30 Thread Martin Moss
> The only issue I have is I want to pass it the language locale on the fly? > Is this possible? DOH RTFM! Tired need slp. Cheers all, Marty ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/ma

Re: [Perl-unix-users] structuring languge dependent code

2002-08-30 Thread Martin Moss
Thats absolutely the problem I was trying to solve, and a great solution. It doesn't look like there'd be issues with using it under perl 5.6? The only issue I have is I want to pass it the language locale on the fly? Is this possible? Thanks Randy, you get the gold star award, Kind regards Mar

Re: [Perl-unix-users] structuring languge dependent code

2002-08-30 Thread Martin Moss
Title: RE: [Perl-unix-users] structuring languge dependent code a valid point, but then to upgrade or add new languages I'd have to reinstall everything.   - Original Message - From: Peter Eisengrein To: 'Martin Moss' ; [EMAIL PROTECTED] Sent: T

structuring languge dependent code

2002-08-30 Thread Martin Moss
All, Does anybody have any suggestion how the Directory structuring of Modules. For instance I would like to support 3 languages. Therefore I want 3 different versions of the same module, but each one providing error messages and output in a specific language. so perhaps:- MyName::SubName1::F

Re: PerlApp

2002-08-29 Thread Martin Moss
What you really want is to embed the Win32:InternetExplorer. module in your perlApp app. Or something like that. It's a way to embed an IE in your App, and I think you can define processes. the problem you are experiencing I belive is that your browser sessions don't know how to handle the .exe

Illicit unsubscriptions attempts?

2002-08-26 Thread Martin Moss
All, Today I received unsubscription emails from activestate from all my subscribed mailing lists. I just wondered if anybody else has had these in the past. Wondered if it was a glitch or if somebody is playing silly beggars, Regards Marty ___ Perl-

LWP and ASP Pages

2002-08-26 Thread Stanley . G . Martin
I can take the URL and plug it into a browser and it comes up just fine. Any ideas??? Stanley G. Martin Sprint - ISS Enterprise App/Decision Support Services [EMAIL PROTECTED] WINMAIL.DAT Description: application/ms-tnef

Re: Job Op in Perl

2002-08-21 Thread Martin Moss
Apologise all you want, it's still SPAM! Marty - Original Message - From: "Carter Thompson" <[EMAIL PROTECTED]> To: "Perl-Win32-Users (E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, August 21, 2002 8:37 PM Subject: Job Op in Perl Considering the current economy and the fact that techni

Re: Perl Presentation

2002-08-21 Thread Martin Moss
to get some good information to help put this together. Most of > these people have either never heard of Perl or they've heard of it but > thought they'd get to know it later. > > Stanley G. Martin > Sprint - ISS Enterprise App/Decision Support Services > [EMAIL PROTECT

Perl Presentation

2002-08-21 Thread Stanley . G . Martin
of these people have either never heard of Perl or they've heard of it but thought they'd get to know it later. Stanley G. Martin Sprint - ISS Enterprise App/Decision Support Services [EMAIL PROTECTED] WINMAIL.DAT Description: application/ms-tnef

Re: All possible Win32 system commands WAS Starting other programs

2002-07-12 Thread Martin Moss
Sorry if this is a bit way off the track, I've missed the first half of the posts, a while back I was trying to open a URL in the default browser from a perl script, I used a module called Win32::Shell::Execute I didn't look into how it worked but I just used this:- if (Win32::Shell::Execute("ope

Re: Perl TK question

2002-06-26 Thread Martin Moss
Win32::InternetExplorer::Window Regards Marty - Original Message - From: "Tillman, James" <[EMAIL PROTECTED]> To: "'Martin Moss'" <[EMAIL PROTECTED]>; "Jack" <[EMAIL PROTECTED]>; "Perl-Win32-Users" <[EMAIL P

Re: Perl TK question

2002-06-26 Thread Martin Moss
You could always launch an external browser? use Win32::Process With the url entered in the text box. there is also a set of modules around which allow you to embed an internet explorer browser in your app -it wasn't quite fully working when I last looked at it 8 months ago though:-( Marty -

Re: Windows PID - Win32::ProcInfo

2002-06-24 Thread Martin Moss
Hi Thomas, Just a humble suggestion, but why not define each windows process as an object Windows::Process (or something which doesn't have an existing name). Then have Win32::ProcInfo return a list of references to Wondows::Process objects? Then when MS change the next version of windows you won

PPM Question

2002-06-24 Thread Stanley . G . Martin
7;t find a match? Stanley G. Martin Sprint - ISS Enterprise App/Decision Support Services 913.315.4576 913.226.3090 PCS [EMAIL PROTECTED] WINMAIL.DAT Description: application/ms-tnef

RE: Regular Expression Help

2002-06-10 Thread Stephen J Martin
On Mon, 10 Jun 2002 10:29:28 Arms, Mike wrote: >>PS I have learned something from this post, I didn't know you could >>define a string using brackets as you have done... > >Except that what you learned: > > $a = (12345678904539); > >is a bad practise. It is a novice mistake. What is being don

RE: Regular Expression Help

2002-06-10 Thread Stephen J Martin
On Mon, 10 Jun 2002 11:38:29 Rubinow, Larry wrote: >Jim Angstadt wrote: > >> produces: >> * 12 34 56 71 23 4* >> *12 34 56 71 234* >> *12 34 56 71 23 4* >> >> * 12 34 56 71 23 45* >> *12 34 56 71 23 45* >> *12 34 56 71 23 45 * >> >> * 12 34 5

Re: Regular Expression Help

2002-06-10 Thread Stephen J Martin
ke print "3 digits found: $&\n" if ($string =~ m%[\d]{3}%); may get you started, but note that 3 digits will be found even when there are 4 or 5, so do the tests in the right order. --- Steve Martin [EMAIL PROTECTED] PS I have learned something fro

RE: Regular Expression Help

2002-06-10 Thread Stephen J Martin
mailto:[EMAIL PROTECTED]]On Behalf Of >steve silvers > >How can I put a white space between every second number. >I have $a = (12345678904539); >I want 12 34 56 78 90 45 39 And this worked for me: s%([\d]{2})%$1 %g; --- Steve Martin [EMAIL PROTECTED] _

Re: Send email in ActivePerl using SMTP

2002-06-06 Thread Martin Moss
When you make your call to Net::SMTP->new you should test the object returned. I believe that if you have errors or there are problems with configuration information you send to Net::SMTP (could be network problems etc.) the Net::SMTP object will return (undef). (check the docs to confirm, it may

RE: Task Scheduler

2002-05-23 Thread Stanley . G . Martin
I'm having a problem on SOME but NOT ALL of my Win2k boxes with the Enum() method. It's very consistent on these particular servers in that it is successful on the SetTargetComputer method, but the array is empty after execution of the Enum method. Any thoughts on that? Stanley

RE: Preferred PERL Editor

2002-05-10 Thread Martin Moss
I find that VIM for windows is my preferred windows editor too:-) > -Original Message- > From: Warkentin, Brad [mailto:[EMAIL PROTECTED]] > Sent: Friday 10 May 2002 15:58 > To: 'Martin Moss'; [EMAIL PROTECTED] > Subject: RE: Preferred PERL Editor > >

RE: Preferred PERL Editor

2002-05-10 Thread Martin Moss
Doesn't anybody still use VI these days?? :-) Marty > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Tillman, James > Sent: Friday 10 May 2002 15:37 > To: 'Warkentin, Brad'; 'Lee Goddard'; Aaron Trevena; Simon Oliver > Cc: [EMAIL PROTECTED] > Subj

XMl convertion quickie.

2002-05-07 Thread Martin Moss
All, just a quickie, any recommendations for converting from one XML doc to another? regards Marty ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Secure platforms DO matter!

2002-05-07 Thread Martin Moss
Hm You mean Windows Me wasn't just a throw away prototype then? :-) Marty > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Sean Ahern > Sent: Tuesday 07 May 2002 12:30 > To: [EMAIL PROTECTED] > Subject: RE: Secure platforms DO matter!

  1   2   >