Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

RE: RE: Re: CGI Question

by Shendal (Hermit)
on Sep 27, 2000 at 02:03 UTC ( [id://34124]=note: print w/replies, xml ) Need Help??


in reply to RE: Re: CGI Question
in thread CGI Question

Ummm, I'm not exactly sure what $basedir is supposed to mean. Perhaps something like this will show you a solution?

#!/usr/bin/perl -w use strict; # always use File::Basename; my $prog = $^X; my $basedir = dirname($prog); print "prog : $prog\n"; print "basedir: $basedir\n";
Which outputs:
prog : /usr/bin/perl basedir: /usr/bin

Cheers,
Shendal

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-29 06:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found