| anno | @{ $hash{ key} } = (0 .. 14); |
| simonrvn | yeh |
| f00li5h | YAY! algebra with references! |
| action | rvalles tries anno's way |
| rvalles | tries anno's way |
| action | f00li5h disllikes anno's way |
| f00li5h | disllikes anno's way |
| rvalles | hahah, but it's cute |
| pasteling | "ezgranny420" at 67.184.116.235 pasted "binary data is corrupted sometimes, images stored in longblob datatype in mysql." (95 lines, 3.4K) at http://sial.org/pbot/23481 |
| rvalles | and looks like it does even work. |
| f00li5h | rvalles: ugly but interesting |
| anno | depends. if you want to push/pop/splice, you need that kind of thing |
| ezgranny420 | hi guys, i'm trying to read images off a disk and import them as binary data into mysql...for some reason my pictures are sometimes corrupt. |
| f00li5h | anno: you don't get a choice there thoguh ezgranny420: it's nothing to do with perl itself, your program or database are doing it. |
| ezgranny420 | fawk why??? |
| f00li5h | perl works, bitches. |
| ezgranny420 | http://www.selpros.com/cl/getdbimage.asp?id=10073&sz=500 |
| anno | what choice? |
| f00li5h | ezgranny420: wait, asp? |
| ezgranny420 | asp is pulling the image =/ |
| f00li5h | extintor: i like the pink, it contrasts nicely with the blue in the rest of the image |
| ezgranny420 | LOL oh nm |
| f00li5h | ezgranny420: can you pull the image back out with perl? |
| ezgranny420 | i should try that |
| f00li5h | also, your urls for your images suck |
| ezgranny420 | but this should work.. ??? |
| f00li5h | use PATH_INFO and use image.asp/1007.gif or something |
| ezgranny420 | does iis have url rewriting? i've never heard of PATH_INFO |
| f00li5h | ezgranny420: it doens't need it ezgranny420: it's a CGI variable |
| ezgranny420 | aaah |
| f00li5h | it's put in the environment and contains all the stuff that's after the filename in the requested path |
| simonrvn | see CGI 1.1 |
| f00li5h | (in this case /1007.gif) |
| ezgranny420 | neato, thanks didn't know about that how do you access the enviornment variables? |