and get the same behavior as fromperl -mr -ne 'print if /foo/' *
Anyway, the thing that I'm offering for comment is basically, should I make it -mr or make it -MR? (And also, of course, if anyone has a reasonable reason why I'd be on crack to even do this, or that it's already been done in a useful enough manner.) The obvious implication being that the tie @ARGV,... occurs either in file-scope or in the import method... which is a miniscule code change, that I'd be happy to make before offering this up to CPAN.grep -r foo *
My reasons for wanting to use -mr over -MR are perhaps silly, but quite frankly:
The costs, however, are that:
Thoughts? Comments? Also, is there a more definitive place to take this question, like comp.lang.something-or-other?
------------ :Wq Not an editor command: Wq
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: RFC: new module r (or R)
by BrowserUk (Patriarch) on Mar 05, 2004 at 18:54 UTC | |
by etcshadow (Priest) on Mar 05, 2004 at 19:25 UTC | |
|
Re: RFC: new module r (or R)
by perrin (Chancellor) on Mar 05, 2004 at 20:39 UTC | |
|
Re: RFC: new module r (or R)
by stvn (Monsignor) on Mar 05, 2004 at 18:52 UTC | |
by jryan (Vicar) on Mar 06, 2004 at 04:03 UTC | |
by stvn (Monsignor) on Mar 06, 2004 at 05:38 UTC | |
by jryan (Vicar) on Mar 06, 2004 at 23:27 UTC | |
|
Re: RFC: new module r (or R)
by samtregar (Abbot) on Mar 05, 2004 at 18:26 UTC | |
by etcshadow (Priest) on Mar 05, 2004 at 18:45 UTC | |
|
Re: RFC: new module r (or R)
by flyingmoose (Priest) on Mar 05, 2004 at 19:57 UTC | |
|
Re: RFC: new module r (or R)
by BUU (Prior) on Mar 05, 2004 at 21:35 UTC |