in reply to Not A Rockstar File Manipulator Today

Please note, I understand how ridiculous it is for the user to have enter the entire path of the file

What makes you think they need to do that? Paths relative to the current directory also works. For example, if the script is called from the same directory as the file to manipulate, only the file name needs to be entered.

And why die "not a rockstar today" instead of die $!? (Oops, someone already mentioned this)