Click here to get back home

Deparse

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Deparse Dr.Ruud 03-31-2006
`--> Re: Deparse M.J.T. Guy04-10-2006
Get Chitika Premium
Posted by Dr.Ruud on March 31, 2006, 3:47 am
Please log in for more thread options


The output of

perl -Mstrict -MEnglish -MO=Deparse -e '$OUTPUT_AUTOFLUSH=1'

does contain a 'use strict' but does not contain a 'use English'. Is
that OK?



The outputs of

perl -MO=Deparse -MEnglish -Mwarnings -Mstrict -e '$OUTPUT_AUTOFLUSH=1'
perl -MO=Deparse -Mstrict -Mwarnings -MEnglish -e '$OUTPUT_AUTOFLUSH=1'

are equal, so the 'use's are reordered.

--
Affijn, Ruud

"Gewoon is een tijger."


Posted by M.J.T. Guy on April 10, 2006, 12:51 pm
Please log in for more thread options


>The output of
>
>perl -Mstrict -MEnglish -MO=Deparse -e '$OUTPUT_AUTOFLUSH=1'
>
>does contain a 'use strict' but does not contain a 'use English'. Is
>that OK?

perl -Mstrict -MEnglish -MO=Deparse -e '$OUTPUT_AUTOFLUSH=1'
use strict 'refs';
$OUTPUT_AUTOFLUSH = 1;
-e syntax OK

That isn't equivalent to the input program - $OUTPUT_AUTOFLUSH isn't
declared. So that's a bug - report with perlbug if you're
enthusiastic.


Mike Guy

Similar ThreadsPosted
Deparse error July 7, 2004, 2:52 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap