|go ahead... be a heretic|
Re: -e on windows giving errorby BrowserUk (Pope)
|on Nov 17, 2011 at 23:28 UTC||Need Help??|
my objective here is to get the drive which my perl script lies in,
If you inspect the built-in variable, $0 (that's zero not oh), it will tell you the full path of the current script including the drive. Eg:
So, my( $drive ) = $0 =~ m[^(.)]; will give you the drive letter directly.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.