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

Re^2: can't use unpack or split??

by seaver (Pilgrim)
on Jun 07, 2004 at 20:12 UTC ( #362092=note: print w/replies, xml ) Need Help??


in reply to Re: can't use unpack or split??
in thread can't use unpack or split??

Thanks for your reply, it totally makes sense, however I wasn't explicit enough in my question.

You've coded the search pattern specifically for the example I gave above, but truly, the 4 or 5 characters in the second column could be ANY character, and not necessarily be delimited by ' as they are in the example above.

After having thought about this, the two things I can guarantee are:

  1. The first three characters are FIXED.

  2. There is a space between every column

  3. The second column is at least 1 character, and at the most 5 characters

So my problem is truly that I have columns delimited by spaces, (nothing I can do about that) and the second column may actually have within it, a space...!!

Any more ideas?

Cheers
Sam

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2022-07-01 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (99 votes). Check out past polls.

    Notices?