Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: get mac addr, compare & send out emailby irah (Pilgrim) |
on Mar 24, 2009 at 05:10 UTC ( [id://752787]=note: print w/replies, xml ) | Need Help?? |
I want to run this perl code in background (with &). I'm not sure how to go about doing this. The answer for your question is, Make your program as Daemon. There are modules available in CPAN for this purpose. If you are using Linux, try ifconfig -a . But you need root permission for executing this command. To get the MAC address on any OS, visit here.
In Section
Seekers of Perl Wisdom
|
|