How might it be possible to create a shortcut in a cgi file for a path name so that instead of recalling this $input{'selected'}which prints the full path name to a file like so,

print "File: <a href=$input{'selected'}>$input{'selected'}</a>\n";

which writes on the html file "/home/mulanoc/user/file.htm"

it can instead recall something shorter say $input2('selected'} which writes "file" on the html file in order to hide the full path name.

What would be the middle step in making

$input{'selected'} = $input2('selected'} so this might be possible?