Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Author separation

by Shaveta_Chawla (Sexton)
on Jun 07, 2012 at 11:01 UTC ( #974916=note: print w/replies, xml ) Need Help??


in reply to Re: Author separation
in thread Author separation

I have used this code:
$author = "Cheng, Liying, Fox, Janna., Zheng, Ying."; @author = split(',' , $author); $length = scalar(@author); $l = 0; $j = 1; for($i=0; $i<$length/2 ; $i++) { $author1[$i]= "$author[$j] $author[$l]"; $l = $l+2; $j = $j+2; } $author = join (',' , @author1); print "$author\n\n";
but this is not feasible

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://974916]
help
Chatterbox?
[1nickt]: erix you should try flat-file DB with linked DBM index yadayada. Might be faster!

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-12-12 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (322 votes). Check out past polls.

    Notices?