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

Re: Mr. BlindNewB question regarding spacing

by toolic (Bishop)
on Oct 01, 2012 at 17:42 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://996701]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2024-03-28 18:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found