What ia alternative for split in Perl

Posted by joe on Stack Overflow See other posts from Stack Overflow or by joe
Published on 2010-05-20T07:52:20Z Indexed on 2010/05/20 8:20 UTC
Read the original article Hit count: 172

Filed under:

a file contains

a: b
d: e
f: a:b:c
g: a
   b
   c
   d
   f:g:h
h: d
   d:dd:d
   f

How to parse this file into lethand side values into one array and right hand side to another array . i tried with split . but i am not able to get it back

© Stack Overflow or respective owner

Related posts about perl