SPUG:for help

Tim Rosmus trosmus at nwnexus.net
Thu Feb 6 18:38:06 CST 2003


On Thu, 6 Feb 2003, Umar Cheema wrote:

|# Instead of
|# ($part, $part2, $part3) = /\s+(\d+)\s(.*)\s+(\d+)/;
|#
|# Try
|# ($part, $part2, $part3) = $line =~ /\s+(\d+)\s(.*)\s+(\d+)/;
|#
|#

Or if the lines are all constant in their format...

|# >    207 MFSNLASDEQDSVRLLAV---EAC--VNIAQLLPQEDLEALVMPTLRQAAEDKSWRVRYM   261

($part, $part2, $part3) = split(' ', $l);
-- 
                Tim Rosmus <trosmus at nwnexus.net>
                   Postmaster / USENET / DNS
                      Northwest Nexus Inc.



More information about the spug-list mailing list