in reply to Re^2: Make command line argument optional
in thread Make command line argument optional
I suspect you want
Notice the change in quotes, inside double quotes $id will try to interpolate, and it is undefinedif (not defined $id) { print '$id is not defined';
|
---|
In Section
Seekers of Perl Wisdom