[Kc] differentiate perl version at run time

Andrew Moore amoore at mooresystems.com
Thu Aug 14 11:08:30 PDT 2008


Hi David -

I think this is something that File::Spec handles.
<http://perldoc.perl.org/File/Spec.html>

It looks like the 'volume' argumnet to 'catpath' may be what you're hunting.

Hope it helps.
-Andy


On Thu, Aug 14, 2008 at 1:05 PM, David Nicol <davidnicol at gmail.com> wrote:
> I have this script I run under either solaris, cygwin, or activestate
> perls a variety of versions.
> I want to conditionally prepend 'C:' to some file names when running
> under activestate.
>
> Who knows what line noise var I should examine?
>
> --
> "don't let the perfect become the enemy of the good" -- some politician on CNN
> _______________________________________________
> kc mailing list
> kc at pm.org
> http://mail.pm.org/mailman/listinfo/kc
>


More information about the kc mailing list