Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Re: Re: Re: Re: Can I match a range from an array?

by brassmon_k (Sexton)
on Aug 04, 2001 at 00:18 UTC ( [id://102137]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Re: Can I match a range from an array?
in thread Can I match a range from an array?

That's it....THAT'S IT!!! WOOOHOOO!
IT WORKS!

Praise rchiav for his great knowledge!

It does exactly as I want it to now.
With the hash, your "if statement" and some of my code
it works! It now prints off the lines I tell it to based off the MSISDN\phone number from the appropriate/matching record block title and matches the correct "Cell ID" number\key from the hash and associates the key with it's value and prints the correct name.

I understood the regex and I understand them and I knew what you wrote. I will look at "perlre". The thing is I can write em but some of the stuff I don't know how it works. For instance you put the $ at the end of your pattern match. I knew what every part of your regex meant except the "$". I think it means match at end of line (not sure though). Then I didn't know that $1 became the variable for the numbers. I thought it was referring to the "key" in the hash so it would print off the first value of the first key in the hash.
THANKYOU ALOT,
The Brassmon_k
  • Comment on Re: Re: Re: Re: Re: Re: Can I match a range from an array?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://102137]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-19 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found