To use a relative path in a tFileInput the file must be in the same folder than the script ok.
print 'script directory: ', $FindBin::Bin, "\n";
print 'current directory: ', getcwd, "\n";
Starting job TEMP at 11:13 12/09/2007.
script directory: /home/pierrick/dev/tos/runtime-trunk-eclipse3.3/.Perl
current directory: /home/pierrick
Job TEMP ended at 11:13 12/09/2007.
Or alternative use a context-variable and evaluate the (absolute) path at runtime.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema