Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Seeking clarification on possible bug in regex using \G and /gcby Rhandom (Curate) |
on Mar 14, 2018 at 23:24 UTC ( [id://1210924]=note: print w/replies, xml ) | Need Help?? |
Breaks for me on perl 5.26.
Should instead print Here is a more extended item looking at pos as well.
my @a=qw(random brilliant braindead); print $a[rand(@a)];
In Section
Seekers of Perl Wisdom
|
|