in reply to Re: flip-flop flop
in thread flip-flop flop
It would be very curious to see if there is a way to reset the flip-flop in some sane way (you probably need to create a new closure to use in the grep every time you call it or something).
This was one of the very few times I tried to make use of the flip-flop and more or less every time I try to use it I have to abandon it in the end.
Because of this global-state issue the flip-flop is pretty much useless to me - to the point where I think perl would be better off without it...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: flip-flop flop
by BrowserUk (Patriarch) on Mar 30, 2012 at 12:10 UTC | |
by morgon (Priest) on Mar 30, 2012 at 13:07 UTC | |
by moritz (Cardinal) on Mar 30, 2012 at 13:31 UTC | |
by morgon (Priest) on Mar 30, 2012 at 13:41 UTC | |
by moritz (Cardinal) on Mar 30, 2012 at 13:56 UTC | |
| |
|
Re^3: flip-flop flop
by BillKSmith (Monsignor) on Apr 01, 2012 at 13:47 UTC |