Commit aa4d7285 authored by sathish's avatar sathish

Add new file

Pipeline #1974 failed with stages
in 46 seconds
# Simple array constructs.
@fred = ("How", "are", "you", "today?");
print "\@fred contains (@fred).\n";
$mike = $fred[1];
print "$mike $fred[3]\n";
# The array name in a scalar context gives the size.
$fredsize = @fred;
print '@fred has ', "$fredsize elements.\n";
# The $#name gives the max subscript (size less one).
print "Max sub is $#fred\n";
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment