in reply to help declaring variables within perl one-liner
perl one-liners called from another perl script
You've already gotten answers to your question, so let me add: Don't do that! It is hardly ever necessary unless you're doing really fancy stuff, and what you showed here does not fall in that category. See my node here for various examples of editing files and overwriting the originals.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: help declaring variables within perl one-liner
by perlfan (Parson) on Apr 02, 2021 at 05:45 UTC | |
by haukex (Archbishop) on Apr 02, 2021 at 08:48 UTC |