That is exactly what that snippet of code does.
As for the rest of it, nuh uh, that isn't how it works. This is a place for people to learn about programming, not a place for people to get their projects done by others. If I think that I can give you a little help and you can try the rest, I may donate a little effort. If you want to demand a detailed spec and show no evidence of putting any of your own effort in, that sounds like real work. I'm perfectly willing to discuss my hourly rate with you, but I won't contribute anything more for free. | [reply] |
Sorry guys,
Thank you for the help. If I get stuck along the way I'll ask for some pointers.
| [reply] |
PerlMonks is not a code-writing service. You must at least make some minimal effort on your own. Start by trying to write your own subroutine; if you get stuck, feel free to come back and ask more specific questions, and show your code!
| [reply] |
Hello,
I'm not sure how exactly to create a three random networks of these IDs. If I reorder either $1 or $2, I would accomplish this, then simply use the code above to determine the degrees and frequencies of this new network.
What functions would allow me to change the order of the ID pairs in the keys of this hash, or change the order of $1 and/or $2 and place them into a new hash?
Any help would be appreciated!
| [reply] |