I want to know if exist a module or something that make this in a easy way, i search on cpan.org but i did not find nothing. There's more than one way to do it :)#!/usr/bin/perl -w use strict; my $msg = "Please turn off your machines"; my $cont = 1; while($cont<=10){ system("echo $msg | smbclient -M mach-${cont}"); $cont=$cont+1; }
In reply to Sending multiples network messages by cored
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |