Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: merging anonymous arrays

by ColonelPanic (Friar)
on Nov 16, 2012 at 14:24 UTC ( #1004204=note: print w/replies, xml ) Need Help??


in reply to Re^3: merging anonymous arrays
in thread merging anonymous arrays

I like the added layer of anonymity that an anonymous subroutine gives! Your mind can be at ease knowing that no one will ever be able to identify any part of your code by name.

And then there is this, which should not have happened, but did:

use Modern::Perl; sub AUTOLOAD { our $AUTOLOAD; state %stuff; return @_ unless $AUTOLOAD=~/scalar/; return $stuff{$AUTOLOAD}++ ? eval $AUTOLOAD.'recursed(@_[1..$#_])' + : $_[0]; } my @key = map { autosub_scalariffic_list('A','B','C'), $_ } autosub_list(1,2,3); say qq{@key};


When's the last time you used duct tape on a duct? --Larry Wall

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004204]
help
Chatterbox?
[holli]: you know, monk days are fun and all. but too many of them are bad for your health
[1nickt]: ...modern car. Suggests using TLA+ or other software modeling language to autogenerate code.
1nickt is not sure more and more layers separating the programmer from the program is the right way to go...
[holli]: happy one, shmem ;)
[1nickt]: I had an interview couople of weeks ago, heard from a principal engineer that a friend of his who works at The Google told him that the self-teaching software that determines the dynamic pricing for their adverts...
[1nickt]: ... has become so complex that there is no one at the Goole who knows what it does.
[marto]: William Gibson was right
[moritz]: a classical problem with machine learning
[1nickt]: moritz isn;t the difference today that the machine learning algos are in charge of most stuffs?
[moritz]: depends on what you mean by "most stuff"

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2017-11-21 13:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (301 votes). Check out past polls.

    Notices?