Uninitialized Variable $sampleRate
Nobody has claimed this yet.
- Dominant language
- Perl
- Stars
- 951
- Forks
- 504
- PR merge metrics
- No merged PRs in 30d
Description
Dear William,
first I'd like to thank you for the great work!
But it seems I found a minor issue in the Script:
I pulled the zip today (2015-06-03) and while testing it I noticed the following perl message:
Use of uninitialized value $sampleRate in concatenation (.) or string at ./vmwar althCheck.pl line 4775.
As far as I can see, the cause of this is, that in Line 4751 there are seven variables, but only six values to initialize them.
Obviously the following "if" doesn't match in our environment, so the missing value leaves the variable empty.
One more "N/A" fixed the problem for me.
Thanks again,
Greetings,
Thomas
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the script referenced in the warning around lines 4751 and 4775. Compare the number of variables with the values assigned in the initialization and reproduce the reported Perl warning while testing the script. Done means the missing default value is supplied and the uninitialized-value warning no longer appears.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100