View Single Post
  #3 (permalink)  
Old 11-28-2007, 09:39 PM
S.Vinothkumar S.Vinothkumar is offline
D-Web Genius
 
Join Date: May 2007
Posts: 1,061
S.Vinothkumar is on a distinguished road
Smile Re: How to concatenate strings with Perl?

Yes...exactly vel!

let me post some example....

using Perl's dot operator:

$name = 'checkbook';
$filename = "/tmp/" . $name . ".tmp";

using Perl's join function

$name = "checkbook";
$filename = join "", "/tmp/", $name, ".tmp";
__________________
S.VinothkumaR
Behind me is infinite power,
Before me is Endless Possibility,
Around me is Boundless Opportunity,
Why should I fear!
Reply With Quote