Help for this page

Select Code to Download


  1. or download this
    # Silly example, but fits the spec
    my @languages = qx#echo "select Language from CountryLanguage where Co
    +untryCode='RUS'"|mysql -u username database_name#;
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
        or die $DBI::errstr;
    
    my @languages = map { $_->[0] } @$ref;    # Store the first element ('
    +Language') in array