#!/usr/bin/perl -wuse strict;sub version { print "version\n";}my $option = shift; # defaults to shifting @ARGVversion() if $option eq "-v" or $option eq "--version";print "Hello, world.\n";