Re: every combination of Y/N in 5 positions
- From: David Harmon <source@xxxxxxxxxx>
- Date: Tue, 01 Apr 2008 19:28:48 -0700
On Mon, 31 Mar 2008 23:23:25 +0200 in comp.lang.perl.misc, Gunnar
Hjalmarsson <noreply@xxxxxxxxx> wrote,
I do, I hope. :)
foreach my $num ( 0 .. 0b11111 ) {
local *_ = \ sprintf '%05b', $num;
What is *_ ? It looks like one of those magic perl variables, but
I don't find any documentation on it.
.
- Follow-Ups:
- Re: every combination of Y/N in 5 positions
- From: Gunnar Hjalmarsson
- Re: every combination of Y/N in 5 positions
- From: Abigail
- Re: every combination of Y/N in 5 positions
- From: Ben Morrow
- Re: every combination of Y/N in 5 positions
- From: Tad J McClellan
- Re: every combination of Y/N in 5 positions
- From: John W. Krahn
- Re: every combination of Y/N in 5 positions
- References:
- Re: every combination of Y/N in 5 positions
- From: Gunnar Hjalmarsson
- Re: every combination of Y/N in 5 positions
- Prev by Date: TieRegistry with IPConfig
- Next by Date: Re: printf: zero pad after the decimal a given amount
- Previous by thread: Re: every combination of Y/N in 5 positions
- Next by thread: Re: every combination of Y/N in 5 positions
- Index(es):