Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Parsing, tokens and strings

by JPaul (Hermit)
on Oct 17, 2001 at 20:21 UTC ( [id://119451]=note: print w/replies, xml ) Need Help??


in reply to Re: Parsing, tokens and strings
in thread Parsing, tokens and strings

Ah,
I'm impressed. The line was somewhat shorter than I had imagined....

My thanks,
JP

-- Alexander Widdlemouse undid his bellybutton and his bum dropped off --

Replies are listed 'Best First'.
Re: Re: Re: Parsing, tokens and strings
by merlyn (Sage) on Oct 17, 2001 at 20:47 UTC
Re: Re: Re: Parsing, tokens and strings
by JPaul (Hermit) on Oct 17, 2001 at 23:19 UTC
    Heh, I thought the quotes being left in the @array was a "feature", so I:
    foreach (@array) { s/"//g; s/'//g; }
    Thanks all for your help,

    JP Hindin,

    -- Alexander Widdlemouse undid his bellybutton and his bum dropped off --

      somewhat silly to belabor the point, but why not just:
      tr/'"//d for @array;

      -Blake

Log In?
Username:
Password:

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

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

    No recent polls found