A
anitawa
Hi,
I am new to perl and i need some help.
Basically i have some text file like this:
start -day 1,2,3 -month 6,12 -message "there is a message for you" -
group book club -emergency
I want to put this into a hash table like this
myhash(start) = ""
myhash(day) = "1,2,3"
myhash(month) = "6,12"
myhash(message) = "there is a message for you"
myhash(group) = "book club"
myhash(emergency) = ""
Can someone help me get started?
I am new to perl and i need some help.
Basically i have some text file like this:
start -day 1,2,3 -month 6,12 -message "there is a message for you" -
group book club -emergency
I want to put this into a hash table like this
myhash(start) = ""
myhash(day) = "1,2,3"
myhash(month) = "6,12"
myhash(message) = "there is a message for you"
myhash(group) = "book club"
myhash(emergency) = ""
Can someone help me get started?