Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    output:
    a b c d
    a b c d !
    
  2. or download this
    my $num = grep{1}@a;
    print $num; ##prints 5 (num of elements in @a) ie, abcd!