http://www.perlmonks.org?node_id=917550


in reply to list from file

Please clarify what you mean by "i want to create list instead of my $list"

(And by the way, you should acknowledge the source of the code you post...)

Update: Linkified 'source'.

Replies are listed 'Best First'.
Re^2: list from file
by persianswallow (Novice) on Jul 29, 2011 at 21:45 UTC

    this code works just when i have a list in script i mean i am limited with this list in script .i have different lists and i want to use them instead of list in the script. i want to make list from a file and use that in program. and yes,i took it from monk but i didnt know how i should show the source.:-(

      Based on your questions to date,
      917552 Re^2: list from file 2011-07-29 16:45 917540 list from file 2011-07-29 15:24 917434 Re^6: array in hashes 2011-07-29 05:44 917421 Re^4: array in hashes 2011-07-29 04:36 917414 Re^2: array in hashes 2011-07-29 04:04 917406 array in hashes 2011-07-29 03:14 917302 Re: array of arrays 2011-07-28 12:16 917230 Re^4: finding neighbors of an element in arrays 2011-07 +-28 04:42 917222 Re^4: finding neighbors of an element in arrays 2011-07 +-28 04:27 917211 finding neighbors of an element in arrays 2011-07-28 03 +:19
      it appears that it's time for you to start actually studying Perl (aka, one hopes, "learning Perl") rather than simply asking each question as it occurs to you.

      It's our goal to help you learn; not to provide an unlimited, question-by-question answer-service.

      Also, pay strict attention to Not_a_Number's request for clarity... and the caution about crediting the source of code you post; this community takes a very serious view of plagarism and its various cousins.

        ...and we can add to your list the following, posted anonymously:

        917518 array references 917521 Re^2: array references 917541 Re^4: array references 917542 Re^5: array references