in reply to Re: Re: Re: Non-fixed data in record
in thread Non-fixed data in record
Okay,
As if you haven't noticed I'm not to good at the hash/array thing. I'm not a newbie though. I'd say I'm intermediate. Anyway okay again for "radioChannelProperty", If I wanted to print this "radioChannelProperty is at Sector 47" for radioChannelProperty's value of 00'H
I'd have to do this -
The Brassmon_k
As if you haven't noticed I'm not to good at the hash/array thing. I'm not a newbie though. I'd say I'm intermediate. Anyway okay again for "radioChannelProperty", If I wanted to print this "radioChannelProperty is at Sector 47" for radioChannelProperty's value of 00'H
I'd have to do this -
However let's say the above worked. How would I tell the script to find that line in the block of text.if (radioChannelProperty[0] =~ "00'H") { print "radioChannelProperty is at Sector 47\n";
Oh, I'm lost on this one.if ($_ =~ /radioChannelProperty/) {
The Brassmon_k
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Re: Non-fixed data in record
by brassmon_k (Sexton) on Aug 31, 2001 at 21:53 UTC | |
by dragonchild (Archbishop) on Aug 31, 2001 at 22:05 UTC | |
by brassmon_k (Sexton) on Aug 31, 2001 at 22:42 UTC | |
by dragonchild (Archbishop) on Aug 31, 2001 at 22:47 UTC | |
by brassmon_k (Sexton) on Aug 31, 2001 at 23:26 UTC |
In Section
Seekers of Perl Wisdom