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

Re: question regarding using Switch.pm in production use

by ikegami (Patriarch)
on May 02, 2005 at 16:05 UTC ( [id://453305]=note: print w/replies, xml ) Need Help??


in reply to question regarding using Switch.pm in production use

Source filters need to parse Perl code. That's very hard to do correctly for a given version of Perl, and it's even harder to do for all versions of Perl. There's even a saying concerning this: "Only perl can parse Perl." For example, I notice Switch uses Text::Balanced, which is falls apart when given split(//, $var). (Use $var =~ /(.)/g instead.) I've heard of other bugs in Text::Balanced.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-19 23:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found