Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^5: The future of Perl?

by Arunbear (Prior)
on Dec 14, 2014 at 14:37 UTC ( [id://1110309]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    class FixedSizeQueue
        def initialize(size)
    ...
            end
        end
    end
    
  2. or download this
    2:16% irb -r ./fsq.rb
    irb(main):001:0> q = FixedSizeQueue.new(3)
    ...
    => #<FixedSizeQueue:0x9317c6c @max_size=3, @items=[3, 5, 7]>
    irb(main):009:0> FixedSizeQueue.instance_methods(false)
    => [:pop, :push]
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-03-29 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found