my @printers = $VAR1 =~ /^(\S+)/mg;
See Matching in list context in perlop.
In reply to Re^3: Module for accessing samba smbclient command
by quester
in thread Module for accessing samba smbclient command
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |