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.
In reply to Re: How do I get the full path to the script executing?
by clemburg
in thread How do I get the full path to the script executing?
by clemburg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |