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 personally vote for dashes-in-method-names++ ... easy to read and type.
    • The waves went high about this on p6l, but eventually dashes emerged as the clear winner. Temporal.pod now has it that way.

  • Please make it look like the PS model eg

    PS C:\> [datetime] | gm -Static

       TypeName: System.DateTime

    Name            MemberType Definition
    ----            ---------- ----------
    Compare         Method     static System.Int32 Compare(DateTime t1, DateTime t2)
    DaysInMonth     Method     static System.Int32 DaysInMonth(Int32 year, Int32 month)
    Equals       
    • I think we're already on the road to meeting your requests.

      DateTime.today()

      (DateTime.now - DateTime.new('2010-03-20T00:00:00')).days

      (With moritz++'s proposed Date class, the second example might be even more straightforward. It feels a bit silly to specify 00:00:00 just to be able to use the ISO8601 constructor.)

      Please create & publish an Amazon wish list so those wannabe P6 Medicis out there can thank you.

      As it happens, I have one already [amazon.com], but more for keeping track of things myself than for people to thank me.

    • Please create & publish an Amazon wish list so those wannabe P6 Medicis out there can thank you.

      The book [amazon.com] you bought for me arrived today. I just want you to know that not only was the book a pleasant surprise, but the act itself made me giddy with gratitude. Thank you so much! Hoping to find occasion to pay it forward [wikipedia.org] real soon.