Prev: FAQ 4.52 How do I sort an array by (anything)?
Next: FAQ 5.11 How can I set up a footer format to be used with write()?
From: Ben Morrow on 5 Aug 2010 13:20 Quoth Klaus <klaus03(a)gmail.com>: > On 4 ao�t, 23:03, Ilya Zakharevich <nospam-ab...(a)ilyaz.org> wrote: > > On 2010-08-04, Klaus <klau...(a)gmail.com> wrote: > > > > > unless ($^O eq 'MSWin32' or $^O eq 'linux') { > > > � � die "Error-0010: File::Vctools can only run on \$^O = 'MSWin32' or > > > 'linux', but found \$^O = '$^O'"; > > > } > > > > Why do you think so?! > > Well, the package "File::Vctools" installs some *.pl scripts that in > turn, generate other *.pl scripts, these "other" *.pl scripts call > system() with slashes (on Linux) or backslashes (on Windows) as a > directory separator. Um, File::Spec? (Or modern alternatives, like Path::Class.) Ben |