in reply to Re: -i switch behaviour
in thread -i switch behaviour
If @ARGV is empty, STDIN is used to supply the contents, not to supply the list of filename(s)That's a good explanation!
and then when I added -i I though it would automatically edit the files the same wayfind ... | perl -ne 'do something'
and I didn't know why I was having to usefind ... | perl -nie 'do something'
to get my desired results.find ... | xargs perl -nie 'do something'
|
|---|