in reply to Help with Concatenates script

... and also use either

#!/usr/bin/perl -w
or
#!/usr/bin/perl
use warnings;