Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^5: compiling perl scripts aka why is perl not as fast as C

by Hue-Bond (Priest)
on Mar 22, 2010 at 17:50 UTC ( #830124=note: print w/ replies, xml ) Need Help??


in reply to Re^4: compiling perl scripts aka why is perl not as fast as C
in thread compiling perl scripts aka why is perl not as fast as C

@array acts like a function. It takes an arg and returns a value based on the input and context.

Excuse me but, what would be the argument?

--
 David Serrano
 (Please treat my english text just like Perl code, i.e. feel free to notify me of any syntax, grammar, style and/or spelling error. Thank you!).


Comment on Re^5: compiling perl scripts aka why is perl not as fast as C
Download Code
Re^6: compiling perl scripts aka why is perl not as fast as C
by ikegami (Pope) on Mar 22, 2010 at 17:56 UTC
    The array / array name / pad slot
    sub array { my ($self) = @_; wantarray ? $self->length : $self->contents }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://830124]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2014-07-30 20:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (240 votes), past polls