in reply to global vars and one liners
$ echo "foo bar baz qux foo foo bar baz qux" | perl -lne'@i{/\w+/g}=()}{print for keys%i' bar baz qux foo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: global vars and one liners
by AnomalousMonk (Archbishop) on Sep 15, 2009 at 14:36 UTC | |
by ccn (Vicar) on Sep 15, 2009 at 19:21 UTC |