Hello,
I have an event variable which can have 3 different format as follow:
1) $mod_item = 465
2) $mod_item = 465_0
3) $mod_item = 465_0_0
how can i determine what type of format the variable data is?
if ($mod_item =~ /_/o) {
..
} elsif ( ?) {
else {...}
I am fairly new to perl so any help would be appreciated. In addition where can i find more reading material on this topic.
Thanks
Roj
I have an event variable which can have 3 different format as follow:
1) $mod_item = 465
2) $mod_item = 465_0
3) $mod_item = 465_0_0
how can i determine what type of format the variable data is?
if ($mod_item =~ /_/o) {
..
} elsif ( ?) {
else {...}
I am fairly new to perl so any help would be appreciated. In addition where can i find more reading material on this topic.
Thanks
Roj