Have fun!#Works for all perl versions join '', @string_arr; #Obviously you can use any string as the first a +rg of join e.g. "\n" #Since 5.10(I think?Maybe 5.8) open STRING_HNDL, ">", \(my $str); print STRING_HNDL @string_arr; close STRING_HNDL; #$str now contains the strings in @string_arr concatenated together print "@string_arr"; # A space is put in between successive elements o +f @string_arr
In reply to Re: Newbie: Pipe/STDIN Clarification
by mrstlee
in thread Newbie: Pipe/STDIN Clarification
by mpapet
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |