Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: Representing all data as Lists

by Anonymous Monk
on Sep 20, 2005 at 20:29 UTC ( [id://493595]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Representing all data as Lists
in thread Representing all data as Lists (Perl7?)

I strongly agree with Perl's current notion that a string is an individual thing (i.e. a scalar). I don't often have the need to break that thing apart and operate on its individual characters.
I think most Perl programmers would disagree with that notion. Especially since Perl is one of the few languages which has elevated fold/spindle/mutilate of strings into a language construct. Of course I'm talking about Perl's pattern matching facility (A.K.A. regex, but they're really not regular in the theoretical sense).

Replies are listed 'Best First'.
Re^5: Representing all data as Lists
by revdiablo (Prior) on Sep 20, 2005 at 20:55 UTC

    I think you misunderstood me. I could have said what I meant more clearly. I was trying to say that Perl programmers have a lot of ways to slice and dice text, and operating on strings as a bag of characters is one of the ways I use probably least often. Your mention of regular expressions really bolsters the point I was trying to make.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2024-04-23 19:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found