Re: "Convert" perl command line to simple script
- From: Paul Lalli <mritty@xxxxxxxxx>
- Date: Thu, 28 Jun 2007 09:49:46 -0700
On Jun 28, 12:28 pm, "Jürgen Exner" <jurge...@xxxxxxxxxxx> wrote:
-i[*extension*]
specifies that files processed by the "<>" construct are to be
edited in-place. It does this by renaming the input file, opening
the output file by the original name, and selecting that output
file as the default for print() statements. [...]
Seems this is one you will have to code yourself.
Not really.
$ perldoc -q -i
Found in /opt2/Perl5_8_4/lib/perl5/5.8.4/pod/perlfaq5.pod
How can I use Perl's "-i" option from within a program?
Paul Lalli
.
- References:
- "Convert" perl command line to simple script
- From: bluez34me
- Re: "Convert" perl command line to simple script
- From: Jürgen Exner
- "Convert" perl command line to simple script
- Prev by Date: Re: "Convert" perl command line to simple script
- Next by Date: Re: "Convert" perl command line to simple script
- Previous by thread: Re: "Convert" perl command line to simple script
- Next by thread: Re: "Convert" perl command line to simple script
- Index(es):
Relevant Pages
|
|