develooper Front page | perl.perl5.porters | Postings from November 2021

Re: Pre-RFC: Phaser Expressions

Thread Previous | Thread Next
From:
shmem
Date:
November 17, 2021 17:23
Subject:
Re: Pre-RFC: Phaser Expressions
Message ID:
alpine.DEB.2.21.2111171819270.4388@mgm-net.de
Missing f in

     use strict;
     my $foo; # <---- here
     $foo = do { BEGIN { 1 } };
     print $foo,$/;

Sorry for that. - I probably should have wrapped that BEGIN into some
subroutine for more clarity.

0--gg-

From the keyboard of shmem [17.11.21,18:12]:
[...]
> use strict;
> my $oo;
> $foo = do { BEGIN { 1 } };
> print $foo,$/;

0--gg-

-- 
_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                               /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About