Re: Fisher-Yates shuffle

2002-04-13 Thread Andrew Pimlott
On Sat, Apr 13, 2002 at 12:51:06AM -0700, Ashley Winters wrote: > Perl today: A semicolon is required after every statement, except before a > closing curly or end of file. > Perl 6: A semicolon is also required after every block, except when the > closing curly is on a line of its own, or it prec

Re: hotplug regexes, other misc regex questions

2002-09-23 Thread Andrew Pimlott
On Wed, Sep 18, 2002 at 05:01:35PM +0200, Damian Conway wrote: > Steve Fink wrote: > > print "yes" if "helo" =~ /hel { .pos-- } lo/; > > This definitely has to work. But remember the call to C is on > the "match object" (i.e. $0), not the string. > > Actually, I would expect that *any* pattern