in reply to Concatenate printing a string and array

Hi,
Try this
use strict; use warnings; my @array=(1,1,1); print "Reslut:",@array;

Replies are listed 'Best First'.
Re^2: Concatenate printing a string and array
by wol (Hermit) on Jan 05, 2009 at 14:03 UTC
    For the benefit of those whose eyesight isn't quite what it was, the difference between the original posting and this reply is that the dot/period has been replaced with a comma. :-)

    (Oh, and "result" has been re-spelt more rudely!)

    For the record, the same kind of approach can be expressed as:

    print "Your result is: "; print @array;

    --
    use JAPH;
    print JAPH::asString();