"R. Joseph Newton" wrote:
> 
> I just checked, and this is special magic with the __END__ and __DATA__ tags.
> For instance:
> 
> Greetings! E:\d_drive\perlStuff>perl -w
> while  (<DATA>) {
>    print;
> }
> 
> __JABBERWOCK__
> Hello
> 
> Does not work, as we can see.

If you want __JABBERWOCK__ to work then use the Inline::Files module.

use Inline::Files;
while  (<JABBERWOCK>) {
   print;
}

__JABBERWOCK__
Hello



John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to