in reply to Get the value of a scalar variable from a file
Try this:
Note the (parens) around $task_number - these provide a LIST context.my ($task_number) = $line=~/\$task_number=(\d)/;
Also, the match performed is on the $line variable.
My goal ... to kill off the slow brain cells that are holding me back from synergizing my knowledge of vertically integrated mobile platforms in local cloud-based content management system datafication.
|
|---|