Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Advice on script

by hbm (Hermit)
on Oct 21, 2011 at 14:11 UTC ( #932902=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       chaddr => 'XX:XX:XX:XX:XX:XX', # MAC Address of sending interface
    
  2. or download this
       sleep 5;  # allow capture process to establish
       sleep 10; # allow capture
    
  3. or download this
       #my @macaddr = split(/:/, $chaddr);
       my @chaddr = split(/:/, $chaddr);
    ...
    
       # or combined, using the clearer(?) @macaddr:
       @macaddr = map { hex } (split/:/,'10:FF:2B:40:8C:FE'), (0)x10;
    
  4. or download this
        for (my $i = 0; $i <= $#options; $i++) {
            my $option = hex($options[$i++]);
    ...
            }
             $i = $offset - 1;
         }
    
  5. or download this
         for my $key (keys %opts) {
             print $key, " ", dhcp_option($key),"\t";
    ...
                   )
                   "\n";
         }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2022-01-23 00:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (63 votes). Check out past polls.

    Notices?