in reply to Fast way - get array elements > 4 chars
"but i want to know if 1 line solution is there"
Really? So whatever solution you have, make it fit on one line. Since you are asking for some code to do this, I'm guessing you currently have nothing working. Will you remember what one line of code will do in a years time?
When people ask for one liners, I often wonder why. Sure you could golf and obfu something which spans multiple lines into one line, but you've just mad it less readable (and arguably less maintainable) for the next person who has to work with your code.
I'm still not exactly sure what your question is, do you have HTML you wish to work with? If so are you using any modules for parsing the HTML source? If so is the module source one line long? :P
Martin
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Fast way - get array elements > 4 chars
by Zen (Deacon) on Mar 23, 2009 at 15:28 UTC | |
by marto (Cardinal) on Mar 23, 2009 at 15:47 UTC | |
by CountZero (Bishop) on Mar 23, 2009 at 16:15 UTC | |
by marto (Cardinal) on Mar 23, 2009 at 16:25 UTC | |
Re^2: Fast way - get array elements > 4 chars
by imrags (Monk) on Mar 23, 2009 at 17:06 UTC | |
by eric256 (Parson) on Mar 23, 2009 at 18:23 UTC |