modules

2001-10-05 Thread TS
I use perl 5.005_03. how do I find out what modules are installed ? and how do I add new modules ?(where are they available?). thanks. __ Do You Yahoo!? NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities

Extract matched pattern into array

2010-12-20 Thread ts
Hi, Let say I said this kind of lines inside my file which I would like to extract the number and store them into array, how can I do that with pattern matching? Equation Set 1; Spec Set 2; Timing Set 1 Equation Set 3; Spec Set 5; Timing Set 1 Thanks -TS- -- To unsubscribe, e-mail

Re: perl code help

2010-10-25 Thread ashwin ts
Helo Saran, The reason why it was printed in the next line is because u have no used chomp function on $c.Chomp would remove unwanted new line characters. I added chomp($c) to ur code and it works fine.. i mean as hw u wanted.. pls find the same code below with chomp..

Re: This Perl code causing high cpu usage , Why ?

2010-10-30 Thread ashwin ts
Hello Jathin, The problem with the code is that its gone in to an infinite loop.. The pattern matching that u have done u need to make it global or for all occurances. .. The /g option is used to match all the patterns in the given string u can try this.. while ($catalog =~ /Perl/g) Regards Ashw

materials on MQ series

2010-12-01 Thread ashwin ts
hello, can some one please let me know about where i can find materials on perl MQSeries... Thanks in advance.. Regards Ashwin Thayyullathil Surendran #91 988732

MQSeries ... help needed

2010-12-07 Thread ashwin ts
hello , My name is ashwin and i am new to perl. I have a requirement where in i need to send messages to MQSeries.. I assume that for the same .. i need to install the MQSeries package in my existing perl.i use a unix environment.The version of perl that i am using is v5.8.2, can you please guide

Re: doubt in substring

2011-01-12 Thread ashwin ts
the output will be cat sat on the all the characters in the string $str except four characters from the left and right will be displayed... Regards Ashwin Thayyullathil Surendran On Thu, Jan 13, 2011 at 9:57 AM, Sunita Rani Pradhan < sunita.prad...@altair.com> wrote: > Hi All > > > >

help with array elements

2011-03-11 Thread ashwin ts
Hi, I am a newbie to perl. I have an array which has few elements like '1,2,3,4,2,3,1,2,1,1,1,4,6,7' i need to know how many times each element has occurred in the same array. for example 1-5 times 2-3 times... could some one throw some light on how i can do this. thanks in advan

Re: help with array elements

2011-03-12 Thread ashwin ts
e of great help. Thanks again, Regards Ashwin Thayyullathil Surendran -- Forwarded message -- From: ashwin ts Date: Sat, Mar 12, 2011 at 1:17 PM Subject: help with array elements To: beginners@perl.org Hi, I am a newbie to perl. I have an array which has few ele

use perl format data

2015-02-05 Thread Wang, Zeng-Sheng (TS-GSD-China-ZZ)
Dear all, I meet a problem and I can't resolve it. Would you like to help me for it? I simple my problem to below text. $a content: a b c d e f j p k $b content x y z q w e n a s d $c content 1 2 3 3 4 5 8 9 2 1 $x content a b c x y z 1 2 3 d e f q w e n

RE: use perl format data

2015-02-05 Thread Wang, Zeng-Sheng (TS-GSD-China-ZZ)
: Thursday, February 05, 2015 7:17 PM To: Wang, Zeng-Sheng (TS-GSD-China-ZZ) Cc: beginners@perl.org Subject: Re: use perl format data On Feb 5, 2015 4:06 AM, "Wang, Zeng-Sheng (TS-GSD-China-ZZ)" mailto:zengsheng.w...@hp.com>> wrote: > > > a b c x y z

RE: use perl format data

2015-02-05 Thread Wang, Zeng-Sheng (TS-GSD-China-ZZ)
For the question, I don’t want use the system command “paste”. Only want to resolve it in perl way. From: Wang, Zeng-Sheng (TS-GSD-China-ZZ) Sent: Friday, February 06, 2015 9:08 AM To: 'shawn wilson' Cc: beginners@perl.org; Wang, Zeng-Sheng (TS-GSD-China-ZZ) Subject: RE: use perl f

RE: use perl format data

2015-02-05 Thread Wang, Zeng-Sheng (TS-GSD-China-ZZ)
alue within @third_file in concatenation (.) or string at format.pl line 25. a b c x y z 1 2 3 d e f q w e n 3 4 5 j p ka s d 8 9 2 1 Thank you very much again. From: Uri Guttman [mailto:u...@stemsystems.com] Sent: Friday, February 06, 2015 9:25 AM To: beginners

RE: use perl format data

2015-02-05 Thread Wang, Zeng-Sheng (TS-GSD-China-ZZ)
: Wang, Zeng-Sheng (TS-GSD-China-ZZ); beginners@perl.org Subject: Re: use perl format data > On Feb 5, 2015, at 6:53 PM, Wang, Zeng-Sheng (TS-GSD-China-ZZ) > wrote: > > Dear Uri, > > First thanks for your kindly help and a read-friendly instruction, I will not > use $a

RE: use perl format data

2015-02-08 Thread Wang, Zeng-Sheng (TS-GSD-China-ZZ)
. On Fri, 6 Feb 2015 02:53:52 + "Wang, Zeng-Sheng (TS-GSD-China-ZZ)" wrote: > Dear Uri, > > First thanks for your kindly help and a read-friendly instruction, I > will not use $a and $b for variables. According to your explanation, I > finish the code as below: Fir