Possible Duplicate:
When should I use the & to call a Perl subroutine?
I am new to Perl development and just going through sample code.
I came across &LogIt() where I have few basic questions to start with. I got info from Google like it logs error/msgs into the log file.
&LogIt("Failed to create folder.");
In the above code, what does that '&' represents? Is there any difference/ impact between &LogIt() and LogIt()? Would the msg "Failed to create folder" get printed somewhere? who ll use this msg?
Kindly let me know some basics about &LogIt().