| | |
Get the location of the perl script
Please support our Perl advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
Does any of you know how to get the pathname of the perl script that is being executed?
Say it is located in
I run it from
I want to get the path
Say it is located in
/home/wolfpack/perl/I run it from
/home/wolfpack by giving the absolute path name like,/home/wolfpack/perl/scriptname [arguments]I want to get the path
/home/wolfpack/perl so that I can use some files inside that directory so that perl does not search for them inside the current working directory which is /home/wolfpack/ バルサミコ酢やっぱいらへんで
![]() |
Similar Threads
- problem in running perl script (Perl)
- How to call a perl script in the C# app? (C#)
- I get the error no file or directory when i try to run a perl script (Perl)
- perl script help re: scope/structure for noob (Perl)
- How to supress warning meesge when i run an command from perl script (Existing Scripts)
- On execution of perl script, popup asks if i want to save or run this file (Linux Servers and Apache)
- Calculate the amount of time in the linux process using perl script (Perl)
Other Threads in the Perl Forum
- Previous Thread: Creating a Robust Logout System
- Next Thread: New in the hood have some problems
| Thread Tools | Search this Thread |
Tag cloud for Perl






