Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: crontab and perl script using system

by perigeeV (Hermit)
on Jul 19, 2001 at 16:24 UTC ( [id://98044]=note: print w/replies, xml ) Need Help??


in reply to crontab and perl script using system

Some great Perlish ways have already been given above, but at the risk of being a complete heretic:

#!/bin/sh cat /dev/null > ~/.bash_history

I'll go say a dozen Hail Larry's for my transgretion.

Replies are listed 'Best First'.
No, Not Heresy, Laziness!
by gaudior (Pilgrim) on Jul 19, 2001 at 18:20 UTC
    It's never wrong to use the best tool for the job. Remeber, one of the Virtues of being a Programmer is Laziness. It might sound like Heresy, but Perl is not always the best tool for the job. It's often the best, by orders of magnitude, but not always.
    Always keep a song in your heart.
    It's like karaoke for the voices in your head.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://98044]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-24 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found