Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: What is better: Static input data in separate file or embedding static input data in code.

by Anonymous Monk
on Nov 03, 2017 at 13:26 UTC ( #1202688=note: print w/replies, xml ) Need Help??


in reply to What is better: Static input data in separate file or embedding static input data in code.

Unless you can demonstrate that the time required to process the external file would make a difference ... which I daresay you can't ... then I would leave the data in a file because you can very easily edit such a file without mucking-up your program's source code. You also retain the possibility of being able to specify one of several data-files, should you choose.
  • Comment on Re: What is better: Static input data in separate file or embedding static input data in code.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1202688]
help
Chatterbox?
[Corion]: "Unmatched ) in regex; marked by <-- HERE in m/(&#9583;&# 9633;)&#9583;&# 65077; &#9531;&#9473;&# 9531;) <-- HERE / at -e line 1." :)
[Corion]: Meh - my "flip the table" string doesn't render here ;)
[choroba]: It renders correctly in pm-cb-g
[erix]: heh
[Veltro]: is it a question?
[erix]: or a conundrum?
[Veltro]: and if I may give you a hint, use qr/\xC2\xB0|\xB0/ instead of the degree sign

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2018-07-17 16:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (372 votes). Check out past polls.

    Notices?