barvin has asked for the wisdom of the Perl Monks concerning the following question:
open (my $PAGER, "| $pager") or die "Can't fork a process for $pager: $!"; print $PAGER $text; close $PAGER
Does anyone know if any temporary files are created by less or more (or perl) in this process? The file would never be more than maybe 50KB.
I realize that the data is plain text during viewing and I can live with that, however I would want to shred anything left on the filesystem, I'm just not sure if this ever exists on the filesystem.
The less man pages, website and Google haven't answered this for me.
Thanks,
Barry
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Temp file on piped open to less
by BrowserUk (Patriarch) on Mar 25, 2010 at 21:21 UTC | |
|
Re: Temp file on piped open to less
by zwon (Abbot) on Mar 25, 2010 at 21:15 UTC | |
|
Re: Temp file on piped open to less
by ikegami (Patriarch) on Mar 25, 2010 at 21:18 UTC |