I'm a beginner to Perl, and I have a question about assigning values to the variable $_. I'm trying to get "Test A" as the output and I get no output instead. And here is the slice of code I want to fix.
"Test A"or"Test B"; print;
May someone help me to modify the code to get the expected result? Thanks a lot.
In reply to Implicit assignment to $_ by SimplySimple
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |