On 10/25/07, Greg <[EMAIL PROTECTED]> wrote:

> my @record = split (/\|/,$_);   #split on '|' characters

> My question comes in, how do I put the |'s back in the line in memory
> so that I can continue with my working script?

I think you're looking for join(), maybe something like this:

  my $line = join "|", @record;
  print "$line\n";

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

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


Reply via email to