Loading ...
Sorry, an error occurred while loading the content.
 

Re: [PBML] move array elements to hash

Expand Messages
  • merlyn@stonehenge.com
    ... Edward my %hash; Edward my $kv; Edward my @kv; Edward my @v; Edward my $i; Edward my $key; Edward my $value; I stopped reading here. Never
    Message 1 of 8 , Apr 16, 2011
      >>>>> "Edward" == Edward Willekens <edwardwillekens@...> writes:

      Edward> my %hash;
      Edward> my $kv;
      Edward> my @kv;
      Edward> my @v;
      Edward> my $i;
      Edward> my $key;
      Edward> my $value;

      I stopped reading here. Never introduce your variables until you need
      them. Creating them with a null value is bad practice.

      --
      Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
      <merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
      Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
      See http://methodsandmessages.posterous.com/ for Smalltalk discussion
    Your message has been successfully submitted and would be delivered to recipients shortly.