in reply to Splitting each word in a string
or you could even do:
yeah, it's big.my @string="Pid DenyMode R/W Oplock Name"; foreach (@string) { my ($pid,$deny,$rw,$oplock,$name) = split; # do something here }
|
---|
In Section
Seekers of Perl Wisdom