Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Any caveats in using unpack to right-trim? Why isn't it advertised more?

by Anonymous Monk
on Feb 08, 2025 at 13:59 UTC ( [id://11163953]=note: print w/replies, xml ) Need Help??


in reply to Any caveats in using unpack to right-trim? Why isn't it advertised more?

(Semi-)answering self: with s/\s+$// for "usual", it's now slightly faster than "better", -- my bad, so then no need to invent "better", I guess some optimizations kick in. But "unpack" is still twice as fast, and questions in the title remain.

  • Comment on Re: Any caveats in using unpack to right-trim? Why isn't it advertised more?
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2025-05-21 01:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.