in reply to Re^2: Module for accessing samba smbclient commandin thread Module for accessing samba smbclient command
my @printers = $VAR1 =~ /^(\S+)/mg;
See Matching in list context in perlop.
1. Keep it simple
2. Just remember to pull out 3 in the morning
3. A good puzzle will wake me up
Many. I like to torture myself
0. Socks just get in the way
Results (297 votes). Check out past polls.