Help for this page

Select Code to Download


  1. or download this
    my $string = 'abcde'; 
    my ($ex)= $string =~ /fhi/; 
    print 'my eleventh gender is ', 
     defined $ex ? '' : 'not ', "defined\n";
    
  2. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    print join(' ', @genders),"\n";
    
    exit 0;