For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > February 2005 > Re: Compile perl code/files via STDIN









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Compile perl code/files via STDIN
Dave Gray

2005-02-02, 3:56 pm

> yes that is exactly what i mean. i want to do somthing like this:
>
> $ perl - c
> print "Test\n";
>
> and now i want to get the infos of the compilation (sytax ok or errors...).
> after that i want to put the next perl code into the
> process, i don't want to close the process and reopen a new.


I don't think syntax checking mode has a batch option... AFAIK it's
just for one file at a time. What exactly are you doing that you're
concerned about interpreter startup time when checking syntax?
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com