rsFalse has asked for the wisdom of the Perl Monks concerning the following question:
while(<>){ @_=/./g; print "@-|@+\n"; ()=/./g; print "@-|@+\n"; /./g; print "@-|@+\n"; (/./g); print "@-|@+\n"; ()==/./g; print "@-|@+\n"; $_[/./g]; print "@-|@+\n"; /./g; print "@LAST_MATCH_START|@LAST_MATCH_END\n"; }
# INPUT: 1234567 # OUTPUT: 6|7 6|7 0|1 1|2 2|3 3|4 |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: nooby question about @+, @-
by toolic (Bishop) on Oct 27, 2014 at 16:54 UTC | |
by ikegami (Patriarch) on Oct 28, 2014 at 13:27 UTC | |
by AnomalousMonk (Archbishop) on Oct 28, 2014 at 14:24 UTC | |
by ikegami (Patriarch) on Oct 28, 2014 at 17:54 UTC | |
by ikegami (Patriarch) on Oct 28, 2014 at 13:34 UTC | |
|