Re: can a regex pattern match return the starting position of the match?

2011-04-14 Thread Conor
The built-in variables @- and @+ hold the start and end positions, respectively, of the last successful match. $-[0] and $+[0] correspond to entire pattern, while $-[N] and $+[N] correspond to the $N ($1, $2, etc.) submatches. -Conor On Thu, Apr 14, 2011 at 10:38 AM, Greg Aiken wrote: > g

RE: naive LWP::Get question (perhaps JavaScript related?)

2012-06-08 Thread Conor
Have you looked at WWW::Salesforce? It requires a little more setup than a straight LWP call (and relies on SOAP::Lite), but is going to be a lot more reliable than screen scraping. -Conor On Jun 8, 2012 1:08 PM, "Ken Cornetet" wrote: > If you are on windows, you can “drive” IE

RE: counting lines in a text files

2005-06-23 Thread Conor Lillis
Title: RE: counting lines in a text files use open IN => ":raw"; I find this works well for files that have occasional control chars in them. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Eric Vercelletto Sent: 23 June 2005 09:38 To: perl-win32-

RE: system("rmdir...") not working like it once did

2005-09-06 Thread Conor Lillis
things were OK again.. I had also patched recently, maybe this is the cause ? regards, Conor -- Conor Lillis -- Systems Administrator, Infrastructure, Davy 49 Dawson St., Dublin 2. http://www.davy.ie Direct : +

Active Directory management

2005-09-07 Thread Conor Lillis
, server / service / disk / cpu / mem / account lockout monitoring etc. Can anyone recommend a good PERL resource (book / site) for concise introduction on how to do the user/group /OU management side of things on AD ? TIA, Conor The information in this e-mail is confidential and may be legally

RE: HTTP synch

2006-03-07 Thread Conor Lillis
[mailto:[EMAIL PROTECTED]] Sent: 22 February 2005 13:20 To: Conor Lillis Cc: Perl List (E-mail); PERL Win32 Users (E-mail); Perl-Unix-Users (E-mail); Perl-Win32-Admin (E-mail) Subject: Re: HTTP synch -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Conor Lillis wrote: | Hi, | I have a script that uses

HTTP synch

2006-03-07 Thread Conor Lillis
.. Anyone have any ideas ? regards, Conor The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or

[no subject]

2006-08-23 Thread Conor Lillis
.     thanks   Conor --Conor Lillis--Systems Administrator,Infrastructure,Davy49 Dawson St.,Dublin 2. Ireland http://www.davy.ieDirect : +353 1 614 90 13Switch : +353 1 672 42 00FAX : + 353 1 679 6334

a script with input timeout (amended)

2006-08-23 Thread Conor Lillis
elements in the list.   Summary of my perl5 (revision 5 version 8 subversion 8) configuration:Platform:osname=MSWin32, osvers=5.0, archname=MSWin32-x86-multi-thread   thanks   Conor --Conor Lillis--Systems Administrator

RE: Reading 'Little Endian - UCS-2' text to perl

2007-02-15 Thread Conor Lillis
I would guess (without checking I have to say) that there is NULL padding between chars - notepad deals with these automatically. this will strip your NULLs $inputline =~ s/\0//ig; -- Conor Lillis -- Systems

PPM failures, help pls.

2008-10-07 Thread Conor Lillis
unzip/untar to function All help appreciated. Regards, Conor Lillis --- Senior Systems Administrator, Group Network Services, tel : +353-1-616-2540 Anglo Irish Bank www.an

PPM issue

2008-12-04 Thread Conor Lillis
ad chunk at offset unknown at C:/perl/site/lib/PPM/Archive/Tar.pm line 25 Error: Can't call method "is_label" on an undefined value at C:/perl/site/lib/Archive/Tar.pm line 282. Regards, Conor Lillis --- Senior Systems Administrator, Group Networ

RE: $ENV{'temp'} returns result in dos 8.3 format

2009-04-14 Thread Conor Lillis
off the "c:\documents and setting\.." setting for %temp% due to not dealing correctly with the spaces in the returned text. Hope this helps... Regards, Conor Lillis --- Senior Systems Administrator, Group Network Services, tel : +353-1-616-254

RE: Advice requested, porting unix perl app to windows

2009-06-03 Thread Conor Lillis
`www.openssh.org has a free ssh server for Windows, this will solve your problem I think and require minimal code change Regards, Conor Lillis --- Senior Systems Administrator, Group Network Services, tel : +353-1-616-2540 Anglo Irish Bank

isue with file-find and search/replace function

2011-02-28 Thread Conor Lillis
HI all I have an issue where I am trying to replicate a folder structure to another server with a different root folder structure. Basically what I have is as follows: Source dir = c:\temp Dest dir = linux file system (so I need to strip the c:\temp from the SCP command I am generating) Here is t

AD / ldap update

2011-09-22 Thread Conor Lillis
Hi all, I have a requirement to add a new primary SMTP address to our users, and retain the existing primary SMTP address as an alias. The attribute in AD that holds these values is "proxyAddresses". Exchange uses any SMTP values in lowercase (eg smtp:co...@angloirishbank.ie) as aliases, and will

RE: AD / ldap update

2011-09-22 Thread Conor Lillis
Hi Angelos, Thanks for coming back to me. The account does have the rights - as part of testing I have successfully modified the displayName attribute. Regards, Conor Lillis Senior Systems Administrator Group Infrastructure Services – Technical Services Group Operations

RE: AD / ldap update

2011-09-22 Thread Conor Lillis
Exchange recipient polices (currently as a secondary, not primary, but this works fine for other secondary domains we also route mail for). Regards, Conor Lillis Senior Systems Administrator Group Infrastructure Services – Technical Services Group Operations Anglo Irish Bank

RE: AD / ldap update

2011-09-26 Thread Conor Lillis
will take a further look at Win32::Exchange as I have a load more Exchange / AD related work coming down the pipe. Regards, Conor Lillis Senior Systems Administrator Group Infrastructure Services – Technical Services Group Operations Anglo Irish Bank Corporation Ltd Tele: +353 1 619 1819

RE: Rename or copy of STDERR-File

2001-12-18 Thread Conor Lillis
To precede the log file with date & time, call the script by a batch file, with the following lines preceding the PERL script. - echo -- >> errors.txt # Puts a nice visible split in the log file. date /t >> errors.

RE: Changing startup for a service.

2002-04-16 Thread Conor Lillis
I would look at the registry based modules Tie::Registry I think it is, and update the parameters in the registry. eg. HKLM\CurrentControlSet\Services\MSSQLServer for MSSQLServer. set Start=2 for automatic startup of service. -Original Message- From: Edward G. Orton [mailto:[EMAIL PROTECT

RE: Should I use perl?

2002-07-01 Thread Conor Lillis
I was also looking at writing a script to do the samer, however there is a great utility called HostMonitor that will perform 98% of what you want (www.ks-soft.net). Play around with it for a half day, see what you think. Conor -Original Message- From: Ken Swift [mailto:[EMAIL PROTECTED

NT Service Password

2002-08-29 Thread Conor Lillis
(cannot do !) c. Restart the service (can do) under the new NT credentials (can do, works). If anyone has done it, or knows how, that'd be great thanks, Conor The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to

RE: NT Service Password

2002-08-29 Thread Conor Lillis
Hi, I believe the answer lies in Win32::Lanman::ChangeServiceConfig, please ignore previous message. thanks, Conor -Original Message- From: Conor Lillis Sent: 29 August 2002 11:58 To: [EMAIL PROTECTED] Subject: NT Service Password Hi, I am curious to know has anyone found a way to

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

RE: :Telnet on Win2K

2002-11-28 Thread Conor Lillis
please read the unsubscribe info on the bottom of the email, thanks. -Original Message-From: tran bao toan [mailto:[EMAIL PROTECTED]]Sent: 28 November 2002 10:53To: [EMAIL PROTECTED]Cc: [EMAIL PROTECTED]Subject: RE: :Telnet on Win2K please do not send me mail again. tha

RE: remote execn on win nt machines for their info

2003-02-03 Thread Conor Lillis
Title: RE: remote execn on win nt machines for their info Also, SSH (www.openssh.org) is extremely useful. -Original Message- From: Tillman, James [mailto:[EMAIL PROTECTED]] Sent: 03 February 2003 12:06 To: 'PRADEEP GOEL'; [EMAIL PROTECTED] Subject: RE: remote execn on win nt machine

RE: script to enumerate window services

2003-09-09 Thread Conor Lillis
This will list all services, and email them to you. -Original Message- From: Brown, Bobby (US - Hermitage) [mailto:[EMAIL PROTECTED] Sent: 09 September 2003 16:24 To: 'Leon'; perl; Yahoo Beginner Perl; win32 Subject: RE: script to enumerate window services Various scripts here I use to g

Folder manipulation (Win32)

2004-11-12 Thread Conor Lillis
Title: Folder manipulation (Win32) Hi, I have a script that works on certain file types that it finds in the current folder, however what I require is that it will loop through the current folder and all subfolders beneath it. What is the most efficient way to do this ? thanks conor

FTP Question

2004-12-03 Thread Conor Lillis
insight on codepages or whatever might be causing this issueit would be much appreciated. thanks, Conor The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised. If you

[Perl-unix-users] RE: FTP Question

2004-12-03 Thread Conor Lillis
g over that one.   -- -Original Message-From: Conor Lillis [mailto:[EMAIL PROTECTED]Sent: 03 December 2004 12:48To: [EMAIL PROTECTED]; Perl-Unix-Users (E-mail)Subject: FTP Question Hi, I have an issue with a file I am transferring using FTP. I

HTTP synch

2005-02-22 Thread Conor Lillis
.. Anyone have any ideas ? regards, Conor The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or

RE: HTTP synch

2005-02-22 Thread Conor Lillis
[mailto:[EMAIL PROTECTED]] Sent: 22 February 2005 13:20 To: Conor Lillis Cc: Perl List (E-mail); PERL Win32 Users (E-mail); Perl-Unix-Users (E-mail); Perl-Win32-Admin (E-mail) Subject: Re: HTTP synch -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Conor Lillis wrote: | Hi, | I have a script that uses

RE: Finding the number of CPUs on a windows 2003 terminal server

2005-04-25 Thread Conor Lillis
Title: RE: Finding the number of CPUs on a windows 2003 terminal server mess with this it will give all you want and more ;-) http://www.roth.net/perl/scripts/scripts.asp?SrvCpuMem.pl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sandhu, Suchindr