Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Non-traditional, Line by Line Compilation in Perl

by Anonymous Monk
on Dec 07, 2011 at 11:42 UTC ( #942226=note: print w/ replies, xml ) Need Help??


in reply to Re: Non-traditional, Line by Line Compilation in Perl
in thread Non-traditional, Line by Line Compilation in Perl

Example, all oneliners :D

$ perl -c -e " use strict; use warnings; BEGIN { $sumeet = 1; } $grove +r = 1; } " Global symbol "$sumeet" requires explicit package name at -e line 1. BEGIN not safe after errors--compilation aborted at -e line 1. $ perl -c -e " use strict; use warnings; BEGIN { our $sumeet = 1; } $g +rover = 1; } " Global symbol "$grover" requires explicit package name at -e line 1. Unmatched right curly bracket at -e line 1, at end of line syntax error at -e line 1, near "; }" -e had compilation errors. $ perl -c -e " use strict; use warnings; BEGIN { our $sumeet = 1; } $g +rover = 1; " Global symbol "$grover" requires explicit package name at -e line 1. -e had compilation errors. $ perl -c -e " use strict; use warnings; BEGIN { our $sumeet = 1; } ou +r $grover = 1; " -e syntax OK


Comment on Re^2: Non-traditional, Line by Line Compilation in Perl
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://942226]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2014-08-30 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (292 votes), past polls