Slash Boxes
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.
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.

      • by ziggy (25) on 2008.12.12 12:40 (#66441) Journal
        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.

            • If any dead Greek poet were polymorphic, I would have thought ovid!

              • He was considered a Roman poet, actually. Had Roman citizenship until he died, though he was never permitted to return to Rome after he was relegated (a form of exile).