perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <>
Subject RE: Checking embperl files for correct syntax
Date Thu, 30 Dec 2004 13:44:54 GMT

> I am currently in the process of upgrading from an early 
> Embperl 2 beta to the latest release candidate.
> The biggest change I notice is that where I had previously 
> got away with [+ $a; $b +], this is no longer allowed, and 
> instead I need [+ do {$a; $b} +]
> The change is obviously fairly simple, but difficult to spot 
> where it needs to be made.
> Does anyone have any suggestions how I can check a tree of 
> epl files for syntactic correctness?  I don't actually want 
> to have to Execute them, as a lot would fail without the 
> correct parameters.  But I just want to know if they will 
> generate an obvious error.

Doing a

Execute ({inputfile => $fn, import => 0}) ;

Should check for syntax only. Just create a little script around it to walk
through your ditrectory tree


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message