I am writing programmes in perl .I have wrote common functions in one program and i want to call that function in Main programme .
Please can you tell me syntax ..
Example:
Main Programme test.pl
i wrote errors1.impl and want to call in test.pl
please tell me the synatx
put the follwing line in errors1.impl `test.pl`
Note that those are inverted commas not single quotes.
If you have a Perl script that needs to invoke another Perl function in an external Perl script, then those shell (backticks) thingys are totally irrelevant.
Use require(): http://perldoc.perl.org/functions/require.html