in reply to Re: Array / String
in thread Array / String
What do you think is faster? sprintf or sed?my @dnsSuffixList = qw ( 10.0.0.1 10.0.02 10.0.03 10.0.04 ); my $str = join ('#;#string#', @dnsSuffixList); $str =~ s/$str/#{#string#$str#}#/; # print $str;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Array / String
by moritz (Cardinal) on Oct 12, 2011 at 11:53 UTC |