in reply to Substitution in Perl
So finally what wil be returned by @tmp?
You can easily find out with
use Data::Dumper; print Dumper \@tmp; [download]