Archived

This topic is now archived and is closed to further replies.

Dynamic File Creation in Perl

This topic is 6011 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I am trying to create a file dynamically using perl. I want to open a file with a filename in it, say a number. I will put that number into a variable and add an extension of ".txt". Then I want to create a new file using that number.txt, but I get this error: Insecure dependency in open while running with -T switch. I''ve been trying forever to figure this out, and I still can''t get it. It also gives this error when I want to create a file dynamically from user input in a CGI form. Any help here would be GREATLY appreciated. Crown

Share this post


Link to post
Share on other sites