Sha256: f1cf1a88bc31e19834a49bb67ee67c6106bfe742ba8a80c493c6f4478ddad688

Contents?: true

Size: 387 Bytes

Versions: 53

Compression:

Stored size: 387 Bytes

Contents

class Bob {
    method hey ($input) {
        given $input {
            when /^\s*$/                            { 'Fine. Be that way!' }
            when /<:Upper>/ and $input.uc eq $input { 'Whoa, chill out!'   }
            when /'?'$/                             { 'Sure.'              }
            default                                 { 'Whatever.'          }
        }
    }
}

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
trackler-2.0.5.16 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.5.15 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.5.14 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.5.13 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.5.12 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.5.11 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.5.10 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.5.9 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.5.8 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.5.7 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.5.6 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.5.5 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.5.4 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.5.3 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.5.2 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.5.1 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.5.0 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.4.0 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.3.9 tracks/perl6/exercises/bob/Example.pm
trackler-2.0.3.8 tracks/perl6/exercises/bob/Example.pm