in reply to Re^6: diagnostics pragma throwing a compile-time error in Cygwin-Perl
in thread diagnostics pragma throwing a compile-time error in Cygwin-Perl

And what's this, then?

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
  • Comment on Re^7: diagnostics pragma throwing a compile-time error in Cygwin-Perl
  • Download Code

Replies are listed 'Best First'.
Re^8: diagnostics pragma throwing a compile-time error in Cygwin-Perl
by Intrepid (Curate) on Apr 17, 2025 at 19:58 UTC

    Drat!! Confungalate! His* fu is stronger than my fu. But I will have my revenge!;-)

    Heh heh. That's absolutely correct. Cygwin package perl_pods contains /usr/share/perl5/5.40/pods/perldiag.pod. I think, that is, imho, cavac, based on this investigation, a strong argument could be made for refraining from use diagnostics; in released modules. A pretty strong argument could also be made that the implementation of diagnostics is weird and obscurist ;-)

    *choroba

    Apr 17, 2025 at 19:31 UTC

    A just machine to make big decisions
    Programmed by fellows (and gals) with compassion and vision
    We'll be clean when their work is done
    We'll be eternally free yes, and eternally young
    Donald Fagen —> I.G.Y.
    (Slightly modified for inclusiveness)

      I'd rather say it's a strong argument against various distributions/systems' broken packaging of Perl in a non-standard way.

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]