in reply to Re: Declaring and checking content of variables with consecutive names
in thread Declaring and checking content of variables with consecutive names
If you read data fields from an instrument into arrays periodically (for example, data obtained with a digital oscilloscope every second) wouldn't it make sense to give the arrays consecutive names such as @arr0000, @arr0001, (..), @arr0234, (...)? Similarly, if you save these data to disc, the name of the array would become the corresponding file name. We do this all the time (but we don't use Perl in this context).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Declaring and checking content of variables with consecutive names
by hippo (Bishop) on Sep 29, 2016 at 08:27 UTC | |
by rflesch (Novice) on Sep 29, 2016 at 09:37 UTC | |
by hippo (Bishop) on Sep 29, 2016 at 10:01 UTC | |
by rflesch (Novice) on Sep 29, 2016 at 10:12 UTC | |
by hippo (Bishop) on Sep 29, 2016 at 10:41 UTC | |
by choroba (Cardinal) on Sep 29, 2016 at 16:37 UTC |
In Section
Seekers of Perl Wisdom