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

Re: Counting positive numbers

by moritz (Cardinal)
on Jun 29, 2010 at 13:06 UTC ( #847119=note: print w/replies, xml ) Need Help??

in reply to Counting positive numbers

Perl 6 solution, with latest Rakudo (ie built today):
# 12345678901234567890123456 perl6 -e 'get;say [+]lines.grep: *>0'

26 character if you don't count the quotes.

Perl 6 - links to (nearly) everything that is Perl 6.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://847119]
[Corion]: marto: Live video or are they recording and storing inspection videos? If it's for archival, who is rewatching that stuff? ;)
[Discipulus]: imperial infiltration
[marto]: Corion none of it is live, all recordings, in the first instance they need to transfer video from dead/dying media (DVDR, VHS, Laserdisc and so on)

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2017-07-28 09:36 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (425 votes). Check out past polls.