in reply to RE: my first try: japh
in thread my first try: japh
Cool!! Thanks for the help!! I tried using $_but then added some other bug when I did. I was unaware of both @_ and $/, so thank you for my introduction.
When you using the construct for $n (1..@_) is this working like a foreach construct?? $n equals each item in the list i.e. 1..@_??
One minor correction to the code, though.. I tried the moddifications and it didnt work properly unless
pack("v",shift) is changed to
pack("v",shift@_)
As far as using the list nature of pack, Im not sure I would know how to go about it. This was the hardest part for me to figure out. I dont completly understand how to use pack or unpack properly. I orginaly kept pulling my hair out thinking that unpack("B8",shift (@D)) should work. I didnt realize that I need to pack the binary string into actual binary data.
Thanks a lot for the suggestions!
zzspectrez
|
|---|