in reply to Re: Flip-flop won't DWIM
in thread Flip-flop won't DWIM
So use the match-once operator (no need for an actual pattern; the empty pattern works fine):
Caution: Contents may have been coded under pressure.
print join ' ', grep scalar(??../D/), ('A'..'F');
Caution: Contents may have been coded under pressure.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Flip-flop won't DWIM
by wu-lee (Beadle) on May 22, 2009 at 10:54 UTC |
In Section
Seekers of Perl Wisdom