How can I generate an array in Perl with 100 random values, without using a loop?
I have to avoid all kind of loops, like \"for\", foreach\", while. This is my exerc
Someone asked for a pure regex solution. How about
#!/usr/bin/perl open my $slf, $0; undef $/; (my $s = <$slf>) =~ s/./rand()." "/eggs; $s .= rand();