perlsyntax has asked for the wisdom of the Perl Monks concerning the following question:

I was thinking what does this part of code i don't understand what it does
(LISTA); $total_lista=$count; print $linea; print $mem1; print $mem2; print $mem3; print $linea;

Replies are listed 'Best First'.
Re: need help read this code
by marto (Cardinal) on Nov 27, 2007 at 15:19 UTC
    Hi perlsyntax,

    Looks like you forgot to use code tags in your post. The code you have provided does not mention mem but three variables containing the string mem do exist ($mem1 $mem2 and $mem3), however in the code you have provided we can not see what is assigned to them. Perhaps reading How do I post a question effectively? then updating your post would help.

    Update: The question has now been changed, my post is now out of context.

    Thanks

    Martin
      I try to get use to this.
Re: need help read this code
by RaduH (Scribe) on Nov 27, 2007 at 15:16 UTC
    It closes a file descriptor LISTA, then assigns the value of $count to $total_lista and then prints the values of $linea $mem1, $mem2, mem3, and $linea again.

    Which mem are you talking about? All those are variable names.

    There's a preview button, the only available when you type the message, which makes you HAVE to use it... there's a reason why .... Did you preview your message?