> [EMAIL PROTECTED] wrote: > > What's the simple Perl command to find the name of the file > from which > > the Perl program is being executed? It was recently on > this newsgroup > > but I can't find the article now.
Do you mean the $0 variable? You could also do: use CGI qw(url); my $self = url(relative=>1); HTH DMuey > > Check out the FindBin module. > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]