perl print @

perl print @

#!/usr/bin/perl
@rocks=qw(ab cd ef gh);
print @rocks; #打印出abcdefgh
print @rocks."\n"; #打印4

你可能感兴趣的:(perl print @)