in reply to Re^2: How to execute perl script with options using Eclipse IDE?
in thread How to execute perl script with options using Eclipse IDE?
Just leave off the double quotes around "$name" and "$age" — they're useless here anyway.
Interpolating an uninitialized variable into a string produces a warning (when warnings are enabled), while simply testing an unitialized variable for truth (i.e. if ($name) ... ) does not.
|
|---|