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

Re^2: poll ideas quest 2015 (declare variables)

by Anonymous Monk
on Oct 27, 2015 at 22:26 UTC ( #1146185=note: print w/replies, xml ) Need Help??


in reply to Re: poll ideas quest 2015 (declare variables)
in thread poll ideas quest 2015

It should be a multiple-selection as I "declare my variables" ...

  • At the top of the relevant enclosure: before option handling; keeping value after a loop;
  • Right before their first use: for my $x = 1 if $test is buggy; no other way (search in loop; populating array or hash);
  • Inside their first use: preferred
  • I just copy what the code already does: in maintenance mode;
  • It varies by language: C, C++, SQL

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1146185]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2020-02-26 07:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (113 votes). Check out past polls.

    Notices?