I have a tcl script calling a lot of perl scripts.
In the beginning of one of the scripts is the command:
exec wish "$0" "$@"
package require tar
The use is later on down the script in the following lines:
cd [file dirname $source]
tar::create /tmp/directoryCopy.[pid].tar [file tail $source]
file delete -force /tmp/directoryCopy.[pid].tar
As soon as I run the script,I get the error message:
Error in startup script: can't find package tar
"package require tar"
(file "package.tcl" line 6)
could you pls help me debug the reason for the error?