Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Please Explain this Function

by Nkuvu (Priest)
on May 15, 2009 at 17:33 UTC ( #764319=note: print w/ replies, xml ) Need Help??


in reply to Re: Please Explain this Function
in thread Please Explain this Function

msg /StartBE        (#  &#9492;żj</
(more or less, the └ in the code tags was replaced by its HTML equivalent, &#9492;)

Not very useful in determining what the pack function is trying to do. It looks like line noise, so did the pack fail? Is the format wrong? I dunno.

But I'll also mention that pack and unpack still confuse me, even though I know the surrounding Perl syntax in that function. And even after reading most of perldoc -f pack and perldoc perlpacktut.


Comment on Re^2: Please Explain this Function
Select or Download Code
Re^3: Please Explain this Function
by apl (Monsignor) on May 16, 2009 at 00:23 UTC
    You had asked
    can you please Tell what $msg Returns here.

    My point is that you could have found out for yourself what was being returned. Anything else (what does pack/unpack do) is a separate question.

      Minor note, I'm not the person who originally asked.

      Another note, koti688 did specifically ask "I want to know what pack and Unpack do excatly" [sic]. Although I will admit that I missed the second question the first time I read it. But in any case, it's pretty clear from the printed output that someone unfamiliar with pack/unpack isn't going to gain much from looking at the output.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (12)
As of 2015-07-03 10:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (51 votes), past polls