develooper Front page | perl.beginners | Postings from August 2012

subroutine in seperate file, question

Thread Next
From:
Rajeev Prasad
Date:
August 10, 2012 18:51
Subject:
subroutine in seperate file, question
Message ID:
1344649852.42367.YahooMailNeo@web161706.mail.bf1.yahoo.com
i want to keep a peice of code which uses CGI and DBIx module in a seperate file, and want to include it in all my scripts as follows:
 
require "/path/to/script/file";
 
I am not sure if the calling program is also using same modules CGI and DBIx what kind of unknown errors i might get? anyone know?
 
ty.
Rajeev

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About