Just another Perl shrine | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I am writing a Perl program to do some parsing. It will be used from the command line as:
myprogram <your file> I am using the diamond operator to get the data out of the file. I want to write a section that checks to see if the user specified anything at the command line and if they did not, I want to give them some help as far as how to use the program. I tried checking <> several ways with no success: So clearly I am ignorant of how to check the diamond operator for the existance of data. Please help me :-) edit (broquaint): added <code> tags In reply to Testing <> for undefined by kayak9630
|
|