Mega Code Archive

 
Categories / Perl / Array
 

Using for each with $_ variable

@array = ("Hello ", "there.\n"); foreach $_ (@array) {    print $_; }