OK, it works (Windose)! Now c'mon, how's it work? What's that strange }{ thingy in the middle of it all? Can you give a documentation ref. for more info on that?>perl -wMstrict -lne "@::i{ /\w+/g } = () }{ print for keys %::i" words2.txt bar baz qux foo
In reply to Re^2: global vars and one liners
by AnomalousMonk
in thread global vars and one liners
by punkish
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |