Question:
what does this mean '$^0'? tell briefly plse..
Answer:
$^ - Holds the name of the default heading format for the default file handle. Normally, it is equal to the file handle's name with _TOP appended to it. Source: CoolInterview.com
$ is used for representing scalar variables Source: CoolInterview.com
Answered by: dhana | Date: 6/25/2009
| Contact dhana
$^O - Holds the name of the operating system being used. Running perl on windows & linux differs as perl uses some linux commands which are not available in windows. eg. uptime() cmd is available in linux but not in windows. Source: CoolInterview.com
Answered by: chandrasekhar Reddy | Date: 6/9/2010
| Contact chandrasekhar Reddy
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|