are the two command equivalent?
Not even slightly, as the latter is illegal syntax:
perl -mstrict -cwle"$Array[ $i ]{ newKey }->'newValue'" String found where operator expected at -e line 1, near "->'newValue'" (Missing operator before 'newValue'?) syntax error at -e line 1, near "->'newValue'" -e had compilation errors.
In reply to Re^5: share array of hashes between main program and thread
by BrowserUk
in thread share array of hashes between main program and thread
by Adler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |