And now that I take away the decimals, I see that you're trying to create a polygon with only five coordinates. You need at least six, because they're in pairs: x,y is one point, so a triangle would have a,b, c,d, e,f for instance. You've got a,b,c,d,e ...
($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print
| [reply] |
Thats Brilliant, It dint strike to my dumb head that I was not closing the polygon. Thanks a lot.
Nagesh
| [reply] |
One problem might be that your coordinates aren't integers. Your browser probably isn't going to know what point is 32.4602432179607 pixels from the left of your images. Round them off (with Perl!) and try it.
($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print
| [reply] |
One of the reasons why so many responses here are high quality and useful is that the site has very a specific notion of content which is "allowed".
That means that users don't get annoyed by questions about HTML, PHP, or other computer things - that they may well be able to answer.
Whilst it's not a great crime to post semi-related topics once or twice. If users did it all the time then the quality of visitors, contributors and the site in general may fall.
(Or the site might still be great; just more unfocussed. Who can say ..?)
| [reply] |
I apologise once again to the lot, that this question was not directly related to Perl. I would take the suggestions from skx and monarch and try to restrict questions more specifically to perl.
| [reply] |