Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > Re: Advice on h...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 9 Topic 10978 of 11509
Post > Topic >>

Re: Advice on how to approach character translation

by rvtol+news@[EMAIL PROTECTED] (Dr.Ruud) Apr 26, 2008 at 11:41 AM

"Jenda Krynicky" schreef:

>  @[EMAIL PROTECTED]
 = map quotemeta($_) @[EMAIL PROTECTED]
    @[EMAIL PROTECTED]
 = map quotemeta($_), @[EMAIL PROTECTED]
(there was a comma missing)

which you could even write as 

         @[EMAIL PROTECTED]
 = map quotemeta, @[EMAIL PROTECTED]
 

-- 
Affijn, Ruud

"Gewoon is een tijger."

    sub uniq {
        my $prev;
        map $_ eq ($prev || "") ? () : ($prev = $_), @[EMAIL PROTECTED]
    }
 




 9 Posts in Topic:
Advice on how to approach character translation
chandra@[EMAIL PROTECTED]  2008-04-23 17:34:22 
Re: Advice on how to approach character translation
Jenda@[EMAIL PROTECTED]   2008-04-24 00:50:48 
Re: Advice on how to approach character translation
chandra@[EMAIL PROTECTED]  2008-04-25 17:41:47 
Re: Advice on how to approach character translation
rvtol+news@[EMAIL PROTECT  2008-04-26 11:41:42 
Re: Advice on how to approach character translation
chandra@[EMAIL PROTECTED]  2008-04-24 23:40:12 
Re: Advice on how to approach character translation
peng.kyo@[EMAIL PROTECTED  2008-04-26 19:39:16 
Re: Advice on how to approach character translation
rvtol+news@[EMAIL PROTECT  2008-04-26 13:54:51 
Re: Advice on how to approach character translation
peng.kyo@[EMAIL PROTECTED  2008-04-26 19:59:08 
Re: Advice on how to approach character translation
rvtol+news@[EMAIL PROTECT  2008-04-26 15:28:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 23 21:09:31 CDT 2008.