Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Counting the number of items returned by split without using a named array

by Anonymous Monk
on May 03, 2006 at 12:55 UTC ( #547134=note: print w/replies, xml ) Need Help??


in reply to Re: Counting the number of items returned by split without using a named array
in thread Counting the number of items returned by split without using a named array

a) You're right, I didnt want to know that

b) hm, I just wanted to catch spaces and tabs and thought \s+ most appropriate.

Never seen =()= in the perldoc before :-/
I.

  • Comment on Re^2: Counting the number of items returned by split without using a named array
  • Download Code

Replies are listed 'Best First'.
Re^3: Counting the number of items returned by split without using a named array
by blazar (Canon) on May 03, 2006 at 13:07 UTC

    Because it's not an operator of itself. It's an assignment to a list further piped into another assignment. It's just a means to create a list context. Others may find a better wording to describe it: possibly mine is not as technically accurate as it could be. Unfortunately as others already explained, it's not reliable to use it with split.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2021-01-23 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?