Skip to main content
Commonmark migration
Source Link

#Perl 5, 59 bytes

Perl 5, 59 bytes

{say for(sort{-1+2*int rand 2}1..69)[0..5];say$==1+rand 25}

It's a subroutine; use it as:

perl -M5.010 -e'sub f{...}f'

#Perl 5, 59 bytes

{say for(sort{-1+2*int rand 2}1..69)[0..5];say$==1+rand 25}

It's a subroutine; use it as:

perl -M5.010 -e'sub f{...}f'

Perl 5, 59 bytes

{say for(sort{-1+2*int rand 2}1..69)[0..5];say$==1+rand 25}

It's a subroutine; use it as:

perl -M5.010 -e'sub f{...}f'
perlsub says "The signature is part of a subroutine's body. Normally the body of a subroutine is simply a braced block of code."
Source Link
msh210
  • 3.5k
  • 21
  • 36

#Perl 5, 5759 bytes

{say for(sort{-1+2*int rand 2}1..69)[0..5];say$==1+rand 25}

It's a subroutine; use it as:

perl -M5.010 -e'sub f{...}f'

#Perl 5, 57 bytes

say for(sort{-1+2*int rand 2}1..69)[0..5];say$==1+rand 25

It's a subroutine; use it as:

perl -M5.010 -e'sub f{...}f'

#Perl 5, 59 bytes

{say for(sort{-1+2*int rand 2}1..69)[0..5];say$==1+rand 25}

It's a subroutine; use it as:

perl -M5.010 -e'sub f{...}f'
deleted 5 characters in body
Source Link
msh210
  • 3.5k
  • 21
  • 36

#Perl 5, 6057 bytes

say for@{[sortfor(sort{-1+2*int rand 2}1..69]}69)[0..5];say$==1+rand 25

It's a subroutine; use it as:

perl -M5.010 -e'sub f{...}f'

#Perl 5, 60 bytes

say for@{[sort{-1+2*int rand 2}1..69]}[0..5];say$==1+rand 25

It's a subroutine; use it as:

perl -M5.010 -e'sub f{...}f'

#Perl 5, 57 bytes

say for(sort{-1+2*int rand 2}1..69)[0..5];say$==1+rand 25

It's a subroutine; use it as:

perl -M5.010 -e'sub f{...}f'
Source Link
msh210
  • 3.5k
  • 21
  • 36
Loading