in reply to Re: concatenation of variables resulting in 2 seperate lines
in thread concatenation of variables resulting in 2 seperate lines

those 2 are two variables needed for concatenation final my $source_mod should contain "C:\shyam\dir1\dir2" that is the $source is concatenated with two variables \ and dir2.I am + not sure how backslash can be used to concatenate as a variable

Replies are listed 'Best First'.
Re^3: concatenation of variables resulting in 2 seperate lines
by Corion (Patriarch) on Jul 25, 2012 at 11:25 UTC

    There is at least one quote missing in this line:

    $source="C:\shyam\dir1;

    Again, please fix your program, or post the real program and not some vague interpretation.