Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Extracting selected fields form file record

by soonix (Canon)
on Feb 06, 2022 at 19:53 UTC ( [id://11141175]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Extracting selected fields form file record
in thread Extracting selected fields form file record

A single space character (' ') is a special case. I admit that it is a bit buried in the split documentation. Of course, only at most OP knows whether leading whitespace should be kept…
  • Comment on Re^3: Extracting selected fields form file record

Replies are listed 'Best First'.
Re^4: Extracting selected fields form file record
by LanX (Saint) on Feb 06, 2022 at 20:14 UTC
    you are right and it will also handle leading whitespace! :)

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-24 17:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found