Handling ignore case and single line in pattern matchin

2008-07-11 Thread Manasi Bopardikar
Hi, Does anyone know how to handle ignore case(i) and single line(s) on a regular expression. Thanks and Regards, Manasi Bopardikar|s/w Engineer|Persistent SystemsLtd (+91)(020)(30234497)|9767218759 [EMAIL PROTECTED] DISCLAIMER == This e-mail may contain privileged and confi

Re: Handling ignore case and single line in pattern matchin

2008-07-11 Thread Anirban Adhikary
Please give us an example otherwise how could we know what u exactly want. On Fri, Jul 11, 2008 at 1:53 PM, Manasi Bopardikar < [EMAIL PROTECTED]> wrote: > Hi, > > Does anyone know how to handle ignore case(i) and single line(s) on a > regular expression. > > > > Thanks and Regards, > > Manas

Re: Handling ignore case and single line in pattern matchin

2008-07-11 Thread Anirban Adhikary
What do u want to extract from these lines.. please be specific when u r posting in this forum. I think that u r using tr and td tag for CGI based perl programming. On Fri, Jul 11, 2008 at 2:14 PM, Manasi Bopardikar < [EMAIL PROTECTED]> wrote: > Match > /.*? nowrap>ACC<\/td>(.*?) 

RE: Signal Handlers

2008-07-11 Thread Rajnikant
Any thoughts on following code? Hello all, I want to catch SIGSEGV signal, do some processing and after that want to call default SIGSEGV handler. I was not getting how to call default SIGSEGV handler. Following code snippet is the work around I'm using. Let me know if anything wrong in this co

Re: Filtering contetn in a variable

2008-07-11 Thread Brad Baxter
luke devon wrote: Thanks for every one who tried to help me. but all were unsuccessful and I would like to submit my tries for your consideration. This is how its done. $ip = substr($ip, 0, (length($ip)-2)); (Please put your comments below others'.) If that's how it's done, then you haven't

Re: Filtering contetn in a variable

2008-07-11 Thread Rob Dixon
Brad Baxter wrote: > luke devon wrote: >> Thanks for every one who tried to help me. but all were unsuccessful and I >> would like to submit my tries for your consideration. >> >> This is how its done. >> $ip = substr($ip, 0, (length($ip)-2)); > > (Please put your comments below others'.) > >

Get Clients Windows Logon ID

2008-07-11 Thread leolim818
Hi All, Can you please advice me how to get the Clients' windows logon user name in perl? Thanks & Regards, Leo -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Get Clients Windows Logon ID

2008-07-11 Thread Rob Dixon
[EMAIL PROTECTED] wrote: > Hi All, > > Can you please advice me how to get the Clients' windows logon user > name in perl? $ENV{USERNAME} Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Get Clients Windows Logon ID

2008-07-11 Thread Amit Saxena
Using environment variables to find username are risky ! Is there any API available for the same ? Thanks & Regards, Amit Saxena On Fri, Jul 11, 2008 at 8:39 PM, Rob Dixon <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] wrote: > > Hi All, > > > > Can you please advice me how to get the Clients

Re: Get Clients Windows Logon ID

2008-07-11 Thread Rob Dixon
Amit Saxena wrote: > > On Fri, Jul 11, 2008 at 8:39 PM, Rob Dixon <[EMAIL PROTECTED]> wrote: > >> [EMAIL PROTECTED] wrote: >>> >>> Can you please advice me how to get the Clients' windows logon user >>> name in perl? >> >> $ENV{USERNAME} > > Using environment variables to find username are ris

sysread, sysseek, sysopen

2008-07-11 Thread oryann9
Are any of these calls deprecated or not recommended? If so, what is recommended regardless of context. sysopen INFILE, \"/dev/vpathXXX\", 0; \$i=0; sysseek(INFILE, 0, 0); while(sysread INFILE, \$buf, 1) {sysseek(INFILE,268435456,1); thank you! -- To unsubscribe, e-mail: [EMAIL PROT

Re: Handling ignore case and single line in pattern matchin

2008-07-11 Thread Chris Charley
- Original Message - From: ""Manasi Bopardikar"" <[EMAIL PROTECTED]> Newsgroups: perl.beginners To: Sent: Friday, July 11, 2008 4:23 AM Subject: Handling ignore case and single line in pattern matchin Hi, Does anyone know how to handle ignore case(i) and single line(s) on a regula

Re: Unix command-line tools to edit SharePoint site?

2008-07-11 Thread ericjhahn
And here is the createEnvelope function: # # Functions listed below are internal to the creation of the custom SOAP requests. # sub createEnvelope { my $action = shift; my $namesp = shift; my $params = shift; my $soap = ' http://www.w3.org/2001/ XMLSchema-instance"

retaining first value, joining with the rest of the row values ?

2008-07-11 Thread Erasmo Perez
Hi dear Perl list: I would like to thank you for all the support I have received from you in my last couple of questions. But here is another question: I would like to know how could I transform the following CSV file: 1,2,3,4,5,6 2,3,4,6,7,8,9 3,876,986,876,765 ... 987,983,654,990,654 989,876,

Re: retaining first value, joining with the rest of the row values ?

2008-07-11 Thread Anirban Adhikary
Hi Erasmo Perez I think What u asking can be done in this way( There might be some more other optimized way) The code is as follows use strict; use warnings; open(FH,"your_source_csv_filename"); my @arr = ; close(FH); open(LS,">>your_modified_csv_filename"); foreach my $el(@arr) { print LS