Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by sumeetgrover (Monk)
on Dec 07, 2011 at 11:55 UTC ( #942229=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

Agreed, compilation would be based on statements, separated by semicolon!
  • Comment on Re^2: Non-traditional, Line by Line Compilation in Perl

Replies are listed 'Best First'.
Re^3: Non-traditional, Line by Line Compilation in Perl
by Anonymous Monk on Dec 07, 2011 at 12:01 UTC

    Agreed, compilation would be based on statements, separated by semicolon!

    We don't need no stinkin semicolons !:)

    $ perl -c -e " use strict; use warnings; { $foo = 1 } { $bar }} " Global symbol "$foo" requires explicit package name at -e line 1. Global symbol "$bar" 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 -e " use strict; use warnings; { our $foo = 1 } { our $bar } p +rint 666" 666

      Well, I certainly do prefer using semicolons, having first learned C programming. I also regard using semi colons at the end of programming statements to be a good programming / software-development practice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://942229]
help
Chatterbox?
[Discipulus]: to eat, no? grin
[Eily]: hu, don't tell the other French people I never tried it, I might get kicked out :P
choroba . o O ( The Czech at-sign is also edible )
[Eily]: the French @ is a mouthful I guess...
[Eily]: choroba Wikipedia gives me Zavináč which doesn't seem to translate to something edible?
[Eily]: (yes I'm very good at using question marks, thank you)
[Discipulus]: O_O frexit for you! even me i tried. it was in the arabic quarter in Granada; they offered as 'tapas' in bars. I eataly somewhere they eat ;=P Sardinia a Pulia iirc
[choroba]: Zavináč

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-11-21 10:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (297 votes). Check out past polls.

    Notices?