in reply to pack() v unpack() padding: bug or ???
printf "'%s'\n",join "'",unpack '(A2)*','fredx ' 'fr'ed'x'
unpack is deciding to remove trailing spaces, I guess in the assumption that they are artifacts from pack.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: pack() v unpack() padding: bug or ???
by BrowserUk (Patriarch) on Feb 16, 2015 at 16:52 UTC |
In Section
Seekers of Perl Wisdom