I'm new to perl. I have a file which i need to parse using perl script.
The format of the file is as below:
05\/26\/2013 06:09:47 \-0700 - AUTHN_SUCCESS - GET - ddsbcggio_ac - 200.12.33.44 - abcweb.eegeserv.com\/abcweb\/abcwebInitialize.do?PORT=SPQ - [email protected]\,ou=People\,o=zeb.com - 06:09:47 - http - uizweb_zam - - [email protected]
05\/26\/2013 06:09:48 \-0700 - AUTHN_SUCCESS - GET - ddsbcggio_ac - 200.12.33.44 - abcweb.eegeserv.com\/abcweb\/abcwebInitialize.do?PORT=SPQ - [email protected]\,ou=People\,o=zeb.com - 06:09:48 - http - uizweb_zam - - [email protected]
05\/26\/2013 06:09:49 \-0700 - AUTHN_SUCCESS - GET - ddsbcggio_ac - 200.12.33.43 - abcweb.eegeserv.com\/abcweb\/abcwebInitialize.do?PORT=SPQ - [email protected]\,ou=People\,o=zeb.com - 06:09:49 - http - uizweb_zam - - [email protected]
From the file i want to get something like these:
05/26/2013 06:09:49 and [email protected],ou=People,o=zeb.com
from each line.
I've tried split(), but i'm not able to get it properly.
Please help