Training, Open Source computer languages

PerlPythonMySQLTclRubyC & C++LuaJavaTomcatPHPhttpdLinux

Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Perl Programming quiz, level Advanced, question 14
Question: If I start my perl program with

use Getopt::std;
getopts('vhf:') || die "You don't know how to run this command\n";

then:

Answer 1:The only command line options allowed are -v, -h and -f (which takes a parameter).
This was the CORRECT answer
Answer 2:The only command line option allowed is -vhf
Answer 3:Any single letter command line options are allowed, but only if -v or -h or -f is specified are any other parameters allowed on the line
Answer 4:The only command line option allowed is -vhf, and that may optionally be followed by an integer value

This was a question from our quiz ... but we have now provided you with the answer (above) - we prefer to provide you with information rather than to puzzle you.
Lua
PHP
Perl
Java
MySQL
Python
Linux
Apache Tomcat
Apache httpd
C and C++
Tcl and Tcl/Tk
Hotel
Recent additions


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2010: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 344596 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho