Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Module::Compile (or: what's this PMC thingy?)

by ingy (Initiate)
on Mar 15, 2006 at 10:44 UTC ( #536804=note: print w/replies, xml ) Need Help??


in reply to Module::Compile (or: what's this PMC thingy?)

Great recap Juerd. You forgot the best part though. perl's "compile" switch (-c) now works.
perl -c lib/Foo.pm
dwims! ;)

Replies are listed 'Best First'.
Re^2: Module::Compile (or: what's this PMC thingy?)
by eric256 (Parson) on Mar 19, 2006 at 22:35 UTC

    Did i miss something? Isn't -c a syntax check mode?


    ___________
    Eric Hodges

      Yah sure. Perl does all the normal compilation stuff it always does. It also does an exit() before runtime. That's all. "Getting it compiled" is bending the truth.

      ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://536804]
help
Chatterbox?
[shmem]: Re^5: Understanding endianness of a number - nice! "zigamorph" will be the host name of the VM I'll set up to debug Microfocus COBOL/perl stuff :-D
[prospect]: Hi, to avoid cluthering the Seekers of Perl Wisdom page. I wanted to print out the values on a new line each. So I though I put a . "\n" behind "print foreach func()" but something interesting happens and it I just get "5" as output :p
[prospect]: print foreach func(). "\n"; sub func { return ( 1, 2, 3, 4, 5 ); }
[prospect]: if I remove the ".\n" I get "12345" as output

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2017-07-24 10:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (350 votes). Check out past polls.