** It must be they are reset to some sort of default when I upload a modified file **
Usually when you upload a replacement file, it takes the permissions that the original one had. If you uploaded a differently named file and then just changed it's name to the original file name, then you'd likely need to set its permissions correctly.
** If I assume correctly, does that mean I should give calandar_admin.pl read/write/execute permissions? **
If a script file had incorrect permissions, it would not work, period! There is nothing I know of which would cause just one line of code in a new file to not display.
Maybe your browser or ISP is caching the original file and that's what you're still seeing in your browser??
I can't think of anything else which would cause it providing the modified file was uploaded to the proper place on the server.
JFYI information, script files and their directories should usually be chmod to 755 or 775 depending on the server's set up. No file or directory should be chmod to 777 for security reasons.
I wouldn't suggest you attempt to change your permissions as that is definitely not your problem.
Dan O.
------------------