G'day folk,
I'm slowing working through some basic exercises to get a feel for Perl
6. I'm currently trying to create a fibonacci sequence stopping at a
maximum value, or a set number of terms...
I've written this:
use v6;
sub MAIN($terms = 35, $maximum = 4_000_000) {
my @seq
Fagyal Csongor wrote:
> # imagine something like:
> $cgi = new CGI;
> $html = HTML::CGI->new($cgi);
> $html->popup_menu( ... ); # I won't do this, but others might... :)
My biggest gripe with CGI's html methods is the inconsistency in their
names. I use them every now and then, but I always h
Juerd wrote:
Jacinta Richardson skribis 2006-09-21 0:13 (+1000):
My biggest gripe with CGI's html methods is the inconsistency in their
names. I use them every now and then, but I always have to go and look
up the documentation. It's "textfield" isn't it? So
IS INDEED the same as:
$directive ne 'VAR' || $directive ne 'LOOP' || $directive ne 'IF'
and that your expectation of the code is wrong.
> The "correct" form using junctions would be this:
>
> die "Unrecognized directive: TMPL_$d