brant_chen has asked for the wisdom of the Perl Monks concerning the following question:
#---------------------------------- #Pass @temp=<STDIN>; chomp(@temp); @new1=reverse(@temp); foreach $new(@new1) { $new = "\t$new"; print $new."\n"; } #----------------------------------
#---------------------------------- @getnew=reverse(chomp(@temp=<STDIN>)); foreach $new(@getnew) { $new = "\t$new"; print $new."\n"; }
|
|---|