grondo / sqlog

SLURM job completion log database and query tool
GNU General Public License v2.0
9 stars 5 forks source link

Fix defined() on non-scalar deprecation warnings #6

Closed watson6282 closed 8 years ago

watson6282 commented 8 years ago

Remove the use of defined() on arrays and hashes. This has been deprecated in newer perl versions (e.g. 5.16) and reports a warning when used. For example:

defined(%hash) is deprecated at /usr/bin/sqlog line 459. (Maybe you should just omit the defined()?)

grondo commented 8 years ago

Excellent, thanks!