in reply to How do I get the full path to the script executing?
Do it like that:
#!/usr/bin/perl -w use strict; use File::Spec::Functions qw(rel2abs); print rel2abs($0);
Originally posted as a Categorized Answer.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How do I get the full path to the script executing?
by clemburg (Curate) on Nov 08, 2000 at 21:22 UTC |