Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] OT: interesting NY times article:High-Tech Japanese, Running Out of Engineers
- Date: Mon, 26 May 2008 13:33:51 +0900
- From: "Ian Barwick" <barwick@example.com>
- Subject: Re: [tlug] OT: interesting NY times article:High-Tech Japanese, Running Out of Engineers
- References: <482EE958.5040701@sonic.net> <87r6c0g1uh.fsf@uwakimon.sk.tsukuba.ac.jp> <483102A8.2080000@gmail.com> <877idqf5cr.fsf@uwakimon.sk.tsukuba.ac.jp> <48321A9C.4080204@sun.com> <4832317C.5020302@ca2.so-net.ne.jp> <d8fcc0800805252005k4af915b0g92eb7fee2feb15f1@mail.gmail.com> <20080526032058.GA1627@lucky.cynic.net>
2008/5/26 Curt Sampson <cjs@example.com>: > On 2008-05-26 12:05 +0900 (Mon), Josh Glover wrote: > >> for my $nationality (@nationalities) { >> my $newPremise = $premise; >> $newPremise =~ s/Japanese/$nationality/; >> print "$newPremise\n"; >> } > > Ewww. > > nationalities.each { |n| puts premise.sub('Japanese', n) } Hey, Perl can do that in one line too! print join("\n", map { ($a = $premise) =~ s/Japanese/$_/; $a; } @nationalities); ;) Ian Barwick
- Follow-Ups:
- Re: [tlug] OT: interesting NY times article:High-Tech Japanese, Running Out of Engineers
- From: David J Iannucci
- Re: [tlug] OT: interesting NY times article:High-Tech Japanese, Running Out of Engineers
- From: Stephen J. Turnbull
- References:
- [tlug] OT: interesting NY times article:High-Tech Japanese, Running Out of Engineers
- From: steven smith
- [tlug] OT: interesting NY times article:High-Tech Japanese, Running Out of Engineers
- From: Stephen J. Turnbull
- Re: [tlug] OT: interesting NY times article:High-Tech Japanese, Running Out of Engineers
- From: CL
- Re: [tlug] OT: interesting NY times article:High-Tech Japanese, Running Out of Engineers
- From: Stephen J. Turnbull
- Re: [tlug] OT: interesting NY times article:High-Tech Japanese, Running Out of Engineers
- From: Jim Grisanzio
- Re: [tlug] OT: interesting NY times article:High-Tech Japanese, Running Out of Engineers
- From: Shin MICHIMUKO
- Re: [tlug] OT: interesting NY times article:High-Tech Japanese, Running Out of Engineers
- From: Josh Glover
- Re: [tlug] OT: interesting NY times article:High-Tech Japanese, Running Out of Engineers
- From: Curt Sampson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] OT: interesting NY times article:High-Tech Japanese, Running Out of Engineers
- Next by Date: Re: [tlug] OT: interesting NY times article:High-Tech Japanese, Running Out of Engineers
- Previous by thread: Re: [tlug] OT: interesting NY times article:High-Tech Japanese, Running Out of Engineers
- Next by thread: Re: [tlug] OT: interesting NY times article:High-Tech Japanese, Running Out of Engineers
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links