Do you know where your variables are? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Ok. I would like to check whether I have mail or not. I suppose I could do some fancy parsing of /var/spool/mail/username, but as this can sometimes have size 0 and sometimes contain a "non-message" that apparently is a, quote "part of the internal format of your mail folder" it would prove a hassle. And maybe unnecessary.
Is there a fancy pm that can perform such a check on the mail spool or possibly a program that will do this that I can use from within perl? Odie -- I am a manual signature virus. Copy me please! In reply to Mail check? by odie
|
|