Hi Brent, 

The split() is wonderful for doing what you want.

-Anne

This one time, Brent Clark wrote:
> Hi all
> 
> I have a string like so
> 
> 01.01.04
> 
> I need to split and add it to an array
> 
> my method of
> 
> ($abc) = $test =~ /\./g;
> 
> does not seem to provide me with a satisfying result
> 
> and I get back is the period.
> 
> If anyone could assit, it would be most helpful
> 
> Kind Regards
> Brent Clark
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
> 
--
It is proverbial that from   (\`--/') _ _______ .-r-.  
a hungry tiger and an         >.~.\ `` ` `,`,`. ,'_'~`.          
affectionate woman there is  (v_," ; `,-\ ; : ; \/,-~) \            
no escape. -Ernest Bramah     `--'_..),-/ ' ' '_.>-' )`.`.__.')   
hobbes at vaxer dot net      ((,((,__..'~~~~~~((,__..'  `-..-'fL    

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to