Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: get mac addr, compare & send out email

by irah (Pilgrim)
on Mar 24, 2009 at 05:10 UTC ( [id://752787]=note: print w/replies, xml ) Need Help??


in reply to get mac addr, compare & send out email

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.

  • Comment on Re: get mac addr, compare & send out email

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-26 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found