#!/usr/bin/perl # save this as program.pl use strict; use warnings; use MyFunctions; print "action> " ; chomp( my $action = ); print "args> "; chomp( my $arg = ); MyFunctions->$action( $arg );