TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stupid perl question



Sorry for the off-topicness of this, but is there a way to find out if a
variable exists in perl? Like isset() in PHP, for example.

Context: I'm taking input from the command line and using GetOptions to
retrieve it. I want to set defaults for variables the user didn't input.

Thanks

Luke