Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Mr. BlindNewB question regarding spacing

by toolic (Bishop)
on Oct 01, 2012 at 17:42 UTC ( #996701=note: print w/replies, xml ) Need Help??


in reply to Mr. BlindNewB question regarding spacing

Can someone tell me if these two scripts will produce the EXACT same results?
You can determine if the output is identical yourself by using diff:
orig.pl > out1 mod.pl > out2 diff out1 out2

See also:

UPDATE: from perlsyn:

Perl is a free-form language: you can format and indent it however you like. Whitespace serves mostly to separate tokens, unlike languages like Python where it is an important part of the syntax, or Fortran where it is immaterial.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996701]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2017-02-25 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (369 votes). Check out past polls.