<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=585064323-30072003>Hello 
All,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=585064323-30072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=585064323-30072003>Please help with the 
following dilemma:<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=585064323-30072003>&nbsp;&nbsp;&nbsp;&nbsp; I am being given a glob of 
data from a web page that I need to fix with perl.&nbsp; It comes in as $blob 
looking like this:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=585064323-30072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=585064323-30072003>425 501 sttlwa01t 
425 712 sttlwa01t tacwa02t 425 337 tacwa02t ...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=585064323-30072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=585064323-30072003>I need to break this 
up so the word characters associated with the numbers stay with their 
numbers.&nbsp; Ideally, I would have an array like this:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=585064323-30072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=585064323-30072003>425 501 
sttlwa01t</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=585064323-30072003>425 712 sttlwa01t 
tacwa02t</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=585064323-30072003>425 337 
tacwa02t</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=585064323-30072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=585064323-30072003>As you can see, I am 
not assured of the number of words that will follow each set of numbers.&nbsp; 
Could you please suggest a split or some other tool that will turn the glob into 
the fix?</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=585064323-30072003>
<P><FONT face=Arial><FONT size=2>$new_array = [ split /(?=[A-Z]\s\d)/,$scalar 
];<SPAN class=585064323-30072003>&nbsp; </SPAN></FONT></FONT></P>
<P><FONT face=Arial><FONT size=2><SPAN class=585064323-30072003>Which is as 
close as we got, does not work.&nbsp; It keeps the split characters, but in a 
funky way that I cannot deal with.&nbsp; It also will always miss the last chunk 
of the glob.</SPAN></FONT></FONT></P></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=585064323-30072003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=585064323-30072003></SPAN></FONT><FONT 
face=Arial size=2><SPAN 
class=585064323-30072003>Thanks,<BR>Chuck</DIV></SPAN></FONT></BODY></HTML>