Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^5: issues displaying cgi script source?

by antirice (Priest)
on Jul 07, 2004 at 01:10 UTC ( [id://372235]=note: print w/replies, xml ) Need Help??


in reply to Re^4: issues displaying cgi script source?
in thread issues displaying cgi script source?

Try this from a directory that contains a subdirectory named review.

my $name = "../broken.pl"; open(FILE, ">review/$name") || die "Can't write to review/$name!\n"; print FILE "Hi"; close FILE;

Notice that it creates a broken.pl in the current directory instead of the subdirectory.

antirice    
The first rule of Perl club is - use Perl
The
ith rule of Perl club is - follow rule i - 1 for i > 1

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://372235]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-03-28 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found