in reply to Re^2: <STDIN> not initializing $_
in thread <STDIN> not initializing $_
If and only if the line input operator is the only thing inside the conditional of a while loop, the value is automatically assigned to the special variable $_.After that some useful examples follow.
|
|---|