Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Mr. BlindNewB question regarding spacing

by toolic (Chancellor)
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.


Comment on Re: Mr. BlindNewB question regarding spacing
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2014-11-28 04:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (193 votes), past polls