Arrays are list type variables, they contain any number of elements desired.
#!/usr/bin/perl print “content-type: text/html \n\n"; @days = ("Monday", "Tuesday", "Wednesday"); @months = ("April", "May", "June"); print "@days\n"; print "\n"; # displaying new line on the screen print "@months\n";
Output: ------- Monday Tuesday Wednesday April May June
AllBlogToolsFacebook comments for blogger brought to you by AllBlogTools.com , Get Yours?