Just another Perl shrine | |
PerlMonks |
Re^5: following if condition fails to print its variable using perl?by marto (Cardinal) |
on Mar 15, 2017 at 10:10 UTC ( [id://1184673]=note: print w/replies, xml ) | Need Help?? |
"i had print as like print 'name :$name' You're using single quotes when you should be using double quotes. Tutorials -> quotes in Perl. Also, not everything you post should go in code tags. Please read and understand PerlMonks for the Absolute Beginner.
In Section
Seekers of Perl Wisdom
|
|