will only read from IMG until the first "\n". You can't assume the jpeg files don't include this byte. Try changing it to:{ print <IMG>; }
This will read in all of IMG and print it.{ local $/; print <IMG>; }
blokhead (200th post)
In reply to Re: Random Image Generator
by blokhead
in thread Random Image Generator
by invidious
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |