http://qs321.pair.com?node_id=774915


in reply to question about getopt

Dear friend,
Check the defined method.It always return boolean value.. 
If values already defined it will return "true(1)" else "false".
 If $option is not define it will take the file name and assigned to that variable..
If already defined it will return 1. So u will get 1 as a value..