in reply to
Image __DATA__
Try
cat image.jpg >>image.pl
rather than the two file form, unles you are making a new script from the old, ala
cat image.pl.base image.jpg > newimage.pl
--
$you = new YOU;
honk() if $you->love(perl)
Comment on
Re: Image __DATA__
Select
or
Download
Code
Replies are listed 'Best First'.
Re: Re: Image __DATA__
by
Beatnik
(Parson)
on Mar 15, 2001 at 22:20 UTC
Basically any way of getting the data in the __DATA__ block will do. I doubt alot of optimizing can be achieved in this step.
Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur.
[reply]
Re: Re: Re: Image __DATA__
by
extremely
(Priest)
on Mar 15, 2001 at 23:17 UTC
It isn't just optimizing, some shells wind up wiping out the file 'index.pl' and THEN trying to cat the two files together.
--
$you = new YOU;
honk() if $you->love(perl)
[reply]
In Section
Cool Uses for Perl