Skip to content

Commit

Permalink
Merge pull request #10 from titsuki/fix-example
Browse files Browse the repository at this point in the history
Fix outdated example
  • Loading branch information
titsuki committed Mar 22, 2017
2 parents 1262d7d + ea5e77b commit 8c0c02b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/timeout_getpass.p6
Expand Up @@ -2,6 +2,6 @@ use v6;
use lib $*PROGRAM.dirname ~ '/../lib';
use Terminal::Readsecret;

my timespec $timeout .= new(tv_sec => 5, tv_nsec => 0);
my Timespec $timeout .= new(tv-sec => 5, tv-nsec => 0);
my $password = getsecret("password:", $timeout);
say "your password is: " ~ $password;

0 comments on commit 8c0c02b

Please sign in to comment.