Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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

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 scrutinizing the Monastery: (8)
As of 2016-09-30 22:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (574 votes). Check out past polls.