<div dir="ltr">i think file:consult/1 (<a href="http://erlang.org/doc/man/file.html#consult-1">http://erlang.org/doc/man/file.html#consult-1</a>) could be good for your usecase. <div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Jul 1, 2018 at 3:58 PM Awsaf Rahman <<a href="mailto:awsafrahman1704@gmail.com">awsafrahman1704@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p style="margin:0px 0px 1em;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both;color:rgb(36,39,41);text-align:left;text-decoration-style:initial;text-decoration-color:initial">Hello! I am new to Erlang and need some help! <br><br>I generated a random list of 100,000 numbers and wrote them in a file. Now I want to use that list in the file as an input for different programs. What I am trying to do is benchmark some programs written in Erlang like Merge Sort and I want to use the same list in different variations of the program. If anyone can help me out it would be of big help!</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both;color:rgb(36,39,41);text-align:left;text-decoration-style:initial;text-decoration-color:initial">Thanks!</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both;color:rgb(36,39,41);text-align:left;text-decoration-style:initial;text-decoration-color:initial">Regards</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both;color:rgb(36,39,41);text-align:left;text-decoration-style:initial;text-decoration-color:initial">Awsaf Rahman</p></div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>