in reply to print(

Param is a function, and function calls are not interpolated in double quotes like variables are (not until perl 6, anyways). You want to do this:

print "'",param(0),"'";