CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: how to split a table: Edit Log



technoman007
New User

Mar 4, 2014, 6:42 AM


Views: 4260
how to split a table

Hi All,

i have table in a variable.

$result has the entire table in it - >
name age subjects
------ ----- --------
George 25 bio
mark 23 physics
hamond 22 english
jeremy 24 maths


i am unable to think of a method to split them.
like name=>George, age => 25 , subject=>bio
and so on with others in the table

i would love to use hashes or arrays.

help is really appreciated.
Thanks in advance.


(This post was edited by technoman007 on Mar 4, 2014, 6:51 AM)


Edit Log:
Post edited by technoman007 (New User) on Mar 4, 2014, 6:51 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives