|
|
| P is for Practical | |
| PerlMonks |
Re: Make Love, not war...by thunders (Priest) |
| on Sep 24, 2001 at 15:53 UTC ( [id://114350]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
just a quick tip, after you set up your array, the important part of your foreach loop could be rewritten like so: for(@h1){$_=chr;print} get to know the $_ special variable.
it'll save you tons of typing and redundant statements.
also, the for and foreach loops are interchangable. Any place you can use one you can use the other.
example:
In Section
Obfuscated Code
|
|
||||||||||||||||||||||||||||||