We Recommend

Learning Perl Learning Perl
In this smooth, carefully paced course, a leading Perl trainer teaches you to program in the language that threatens to make C, sed, awk, and the Unix shell obsolete for many tasks. This book is the "official" guide for both formal (classroom) and informal learning. It is fully accessible to the novice programmer.


Posted By

noah on 07/03/07


Tagged

array


Versions (?)


declare an array


Published in: Perl 


Perl is so damn elegant sometimes

  1. #an array of strings -- no commas or quotes needed
  2. my @list = qw{ferociously hellishly finally};

Report this snippet 

You need to login to post a comment.