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.
  • I can't think of any non-perlisms leaking into my Perl, but I find myself typing this all the time in C# :

      public ovid foo() {
        // ...
      }

    :-)

    • Ovid's foo should be private, thank you.

      • I think you misread that. Anyone can ask foo() for an ovid. :-)
        • What does it return in ovid context?

          • What does it return in ovid context?

            It always returns ovid in an ovid context. In a strongly typed language, the compiler will never allow you to call it from a non-ovid context. I suppose you could overload foo() to return a virgil, horace, or even homer in other contexts, but I've never needed to do that.