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.