in reply to Help with Regular Expressions and Perl
Hi vc859,
The syntax for 'join' is:
join EXPR,LISTSo your code should be
$variable = join("\n",@variable = <INFILE>);
Punitha
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Help with Regular Expressions and Perl
by afoken (Chancellor) on Apr 01, 2010 at 19:29 UTC | |
Re^2: Help with Regular Expressions and Perl
by amedico (Sexton) on Apr 03, 2010 at 23:44 UTC |
In Section
Seekers of Perl Wisdom