Greetings
mbethke, and thank you for the reply.
I looked at
File::Temp. But if I'm not mistaken, it creates an (altho temporary) actual
copy of the file.
While this wouldn't be the "end of the earth" for me, these files are ~150Mb each.
Copy time, and space seems less efficient than using a
symlink. Which is why I chose that direction.
Maybe
kennethk's
suggestion solves this. Then again, perhaps initiating a check at the beginning of
this script, similar to:
#!/bin/sh -
find . -type f -name '*.tbz2' -maxdepth 1 -cmin '+24' | xargs rm
exit
would be nearly good enough.
OK, the above is a
shell script, and while I
could "shell out" within Perl.
I'm sure there must be a way do do the same
whithin Perl. :)
Thanks again for taking the time to respond!
--chris
#!/usr/bin/perl -Tw
use perl::always;
my $perl_version = "5.12.4";
print $perl_version;
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.