in reply to Random Image Generator

You might want to set binmode STDOUT; at the beginning of your script, as you are printing a binary file (the image) to STDOUT. ;-)
Also, the non-capturing parens ((?:)) in your RegEx don't do anything; you might as well remove them.
Hope this helped.
CombatSquirrel.
Entropy is the tendency of everything going to hell.

Replies are listed 'Best First'.
Re: Re: Random Image Generator
by bl0rf (Pilgrim) on Oct 15, 2003 at 22:47 UTC
    Thank you for your advice CombatSquirrel!
    Its the same thing that needed to be done for a script
    I'm writing.

    Live well, eat Perl. My site