(UPDATE:)

> That's a Straw man. Nowhere in the discussion from the OP up to BrowserUk's neither team work nor "teams owning namespaces" have been mentioned, and by producing them you don't address any point of BrowserUk's post.

This whole thread is about reliable code design which survives unforeseeable future developments! (\UPDATE)

>Apart from that, you deny having mentioned autobox when you clearly did so in the OP -

In the OP I was listing autobox as one of the possibilities to achieve an object. Down this thread I was talking about blessing, autobox doesn't bless, it was all about generally turning an array into an object.

# Another approach would be to use something like autobox and to always have objects right from the beginning and to write $employees_ar->push() !

But that's

a) not very perlish and

b) not faster than overwriting CORE::push (I think even much slower)

But this shows the benefit of everything is an object that other languages have!

(added underlining to make it clearer)

So please explain, what was BUK telling as new, if he is only referring to the OP ? (And BTW autobox - which is not the primary subject of this thread about code design -but BUK's - is according to the docs only a little slower than method calls on blessed objects! )

> and claim to have addressed the fully qualified subroutine call, when you didn't.

I did, in the post BUK was replying to.

or you have always to write Employees::list_active(\@employees) or import from Employees!
(added underlining to make it clearer)

> That doesn't further a interesting dicussion

O ... your post certainly does.

Cheers Rolf


In reply to Re^8: Benefits of everything is an object? Or new sigils? (performance) by LanX
in thread Benefits of everything is an object? Or new sigils? by LanX

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.