Search notes:

Perl module Perl6::Take

use warnings;
use strict;

use Perl6::Take;


my @taken = gather {

  print "I am going to take 42\n";
  take 42;

  print "What do you give me?\n";
  my $next = <STDIN>;
  chomp $next;
  take $next;

  print "Finally, I take 1\n";
  take 1;

};

print "-----\n";
print join "\n", @taken;
Github repository PerlModules, path: /Perl6/Take/script.pl
Perl modules.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1744799788, '13.59.79.237', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/Perl/modules/Perl6/Take/index(58): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78