develooper Front page | perl.beginners | Postings from December 2002

PERL string manipulation

From:
Johnstone, Colin
Date:
December 19, 2002 21:01
Subject:
PERL string manipulation
Message ID:
1CE69FABC71E184C8991EBD0B31A9EE2934030@fpfexch1.central.det.win
Gidday all,
 
In PHP if I want to add something to a string I do this
 
$output = "";
 
$output .= "A";
$output .= "B";
$output .= "C";
$output .= "D";
 
print $output;
 
How do I do the same in PERL please.
 
Thanking you in anticipation
 
Colin
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About