Re: use perl format data

2015-02-09 Thread Shlomi Fish
Shlomi Fish > > Begin forwarded message: > > Date: Tue, 10 Feb 2015 11:01:56 +0530 > From: prasanth > To: Shlomi Fish > Subject: Re: use perl format data > > > Hi, > > Lets see if the below code helps: > First of all your code is missing strict an

Fw: use perl format data

2015-02-09 Thread Shlomi Fish
Dear Prasanth, next time please reply to the list. I'm going to comment on your code after this forwarded message arrives at the list. Regards, Shlomi Fish Begin forwarded message: Date: Tue, 10 Feb 2015 11:01:56 +0530 From: prasanth To: Shlomi Fish Subject: Re: use perl format

Re: use perl format data

2015-02-08 Thread Shlomi Fish
On Sun, 8 Feb 2015 15:51:59 + "Wang, Zeng-Sheng (TS-GSD-China-ZZ)" wrote: > Thanks for your kindly suggestion, you help me learn more of perl knowledge. > You're welcome! My pleasure. Regards, Shlomi Fish -- - Shlom

RE: use perl format data

2015-02-08 Thread Wang, Zeng-Sheng (TS-GSD-China-ZZ)
Thanks for your kindly suggestion, you help me learn more of perl knowledge. -Original Message- From: Shlomi Fish [mailto:shlo...@shlomifish.org] Sent: Friday, February 06, 2015 4:45 PM To: beginners@perl.org Subject: Re: use perl format data Hi Mr./Ms. Wang, a few notes on your code

Re: use perl format data

2015-02-06 Thread Uri Guttman
On 02/06/2015 03:44 AM, Shlomi Fish wrote: @first_file, @second_file, and @third_file really should be an array of arrays. See: http://perl-begin.org/topics/references/ did you see my comment on not doing that right away? he obviously is so new that simpler perl things are what he needs to lea

Re: use perl format data

2015-02-06 Thread Shlomi Fish
Hi Mr./Ms. Wang, a few notes on your code. 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

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-05 Thread Jim Gibson
> 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 and $b for variables. According to your explanation, I finish the code > as below: > #!/usr/bin/perl -w > 2 us

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 Uri Guttman
On 02/05/2015 08:07 PM, Wang, Zeng-Sheng (TS-GSD-China-ZZ) wrote: Dear Shawn, Please forgive me for my poor English explanations of my question, there are three files, file 1, file 2 and file3. File 1: a b c d e f j p k file 2: x y z q w e n a s d file 3: 1 2 3 3 4 5 8 9 2 1 I

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)
: 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 shawn wilson
On Feb 5, 2015 4:06 AM, "Wang, Zeng-Sheng (TS-GSD-China-ZZ)" < zengsheng.w...@hp.com> wrote: > > > 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 > > > > how to use $a, $b and $c product $x? > Along

Re: use perl format data

2015-02-05 Thread Shlomi Fish
Hi Mr./Ms. Wang, On Thu, 5 Feb 2015 09:03:19 + "Wang, Zeng-Sheng (TS-GSD-China-ZZ)" wrote: > 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

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