Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Perl only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Perl
how to find the path of perl file?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Raju Sathliya
New Member
Join Date:
Jul 2008
Posts:
7
#1
how to find the path of perl file?
Jul 8 '08, 11:32 AM
Is there any variable that store perl file path??
KevinADC
Recognized Expert
Specialist
Join Date:
Jan 2007
Posts:
4092
#2
Jul 8 '08, 04:47 PM
check the ENV hash
Code:
foreach my $keys (keys %ENV) { print "$keys = $ENV{$keys}\n"; }
one of them hopefully has that information. If not, I am pretty sure there is a module but I can't remember the name of the module.
Comment
Post
Cancel
cnsabar
New Member
Join Date:
Dec 2007
Posts:
40
#3
Jul 18 '08, 10:39 AM
Hi ,
By using this script , you can find the path of perl file...
[code = "perl"]
use English;
print "Perl Path: $PROGRAME_NAME" ;
[/code]
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment