Posts by Zyon • 21 points
1 post
-
2
votes2
answers75
viewsQ: Deconstructing a perl-based one-Liner error occurs "Can’t Modify single ref constructor in scalar assignment"
export dev2='/dev/sdb'; perl -'MDigest::MD5 md5' -ne 'BEGIN{\$/=\1024};print md5(\$_)' $dev2 Returns the following error: Can’t Modify single ref constructor in scalar assignment at -e line 1, near…