Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • You can't have both File::Stat and File::stat. Ugh.
    --
    • Randal L. Schwartz
    • Stonehenge
    • Good point. This sort of thing could really mess up MS Windows users if left unchecked over time (and make a mockery of namespaces and name selection in general), assuming continual abuse.

      Time for the CPAN cops to step in I think. You don't wanna mess with the CPAN cops - they play hardball.

    • You can have File::Stat and File::stat, installed in different locations, on a case-insensitive filesystem. However you can write use File::stat; and have File::Stat loaded.

      At some point during the 5.7 development phase, a warning was added to detect that kind of things, but it was then proven unpractical. The curious minds can check the explanatory comment about this now-vanished warning in op.c (function Perl_utilize) in the perl 5.8.0 sources.

  • This bugged me to. Another instance where it
    would have been nice to moderate ;-) Worse,
    the author is actually aware of the existence
    of File::stat. The dox also didn't seem to
    indicate that the module was different in
    any significant way either.
    --
    Were that I say, pancakes?