in reply to Re^4: How to allocate a struct?
in thread How to allocate a struct?
I really do not understand why the Perl gods don't add structs to Perl itself to make things easier and cleaner.
One good reason is that once you understand the facilities of Perl, for any given use-case where those coming from other languages might use a struct, there is nearly always a better, more perlish approach to solving the requirement.
So, rather than ruing the lack of some facility that, even if someone started the process of adding that facility tomorrow, wouldn't be available for months if not years, why not describe your use-case in detail, and see if the monks can't offer you some alternative that is available now?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: How to allocate a struct?
by dissident (Beadle) on Oct 28, 2014 at 22:58 UTC | |
by BrowserUk (Patriarch) on Oct 28, 2014 at 23:30 UTC | |
by Anonymous Monk on Oct 29, 2014 at 13:36 UTC |