>
>Input:
>
>$dc:[dot 1980]
>$su:UNITED STATES
>
>Output:
>
>$su:UNITED STATES
>$dc:[dot 1980]
>

You could read these input lines into an array,then call 'reverse' to do that 
for you.
See 'perldoc -f reverse' please.
Also give an example here:

$ perl -e '@arr=qw/aa bb/;print join " ",reverse @arr' 
bb aa

HTH.

--
Jeff Pang
NetEase AntiSpam Team
http://corp.netease.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to