Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Using Text::Balanced

by LTjake (Prior)
on Aug 20, 2003 at 18:49 UTC ( [id://285256]=note: print w/replies, xml ) Need Help??


in reply to Using Text::Balanced

Although i've never used Text::Balance before, i think the problem is that your escaped double quote is not surrounded in double quotes itself.

For instance, let's change the escape character to \, but leave the delimiter as is. Your string has to be "\"this\"" "line" "has" "four" to work. So, if we change the escaped char back to a double quote, it should be: """this""" "line" "has" "four" to be escaped properly.

I did a test run and got:

"""this""" "line" "has" "four"

as an answer.

I may be way off, but i tried. :)

HTH

--
"To err is human, but to really foul things up you need a computer." --Paul Ehrlich

Replies are listed 'Best First'.
Re: Re: Using Text::Balanced
by bfish (Novice) on Aug 21, 2003 at 13:32 UTC
    Oh, it is so bad when I can't even manage the simple act of setting up a test case. Thanks HTH for clearing up the obvious.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-19 10:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found