Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

RE: RE: Re: CGI Question

by Shendal (Hermit)
on Sep 27, 2000 at 02:03 UTC ( #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


Comment on RE: RE: Re: CGI Question
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2014-11-27 03:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (178 votes), past polls