Assuming that you are using Linux or Unix, you may have a permissions issue here.
Assuming (again) that you are using Apache then the chances are that your code runs as the user "apache" and therefore will only have access to any directories that the user "apache" has permissions to access.
Check 1: Ensure that the "apache" user has permission to access a file in the parent directory.
Check 2: Try something like "open FH, '../myfile';" in your code. Check the return code of that open and see if you succeeded. The "../" will make perl look in the parent directory of cgi-bin.
Trojan.