Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Perl: defining an array

Perl: defining an array

#!/usr/bin/perl -w
use strict;
my @tab;                            #array
# defining the array
@tab = ('A', 'B', 'C');
# Concatenate the array
@tab = (30, 31, @tab, 3.4);
print "@tab";

Users who found this page were searching for:

  • defining an array in perl

No comments yet.

Leave a Comment