#!/usr/bin/perl require "./routines.pl"; # assuming it's in the current directory $hello="hello123"; hello(); # prints "hello123"