doomrak has asked for the wisdom of the Perl Monks concerning the following question:
I have a tcl script calling a lot of perl scripts.
In the beginning of one of the scripts is the command:The use is later on down the script in the following lines:#!/bin/sh #\ exec wish "$0" "$@" package require tar
As soon as I run the script,I get the error message:cd [file dirname $source] tar::create /tmp/directoryCopy.[pid].tar [file tail $source] cd $pwd cd $dest tar::untar /tmp/directoryCopy.[pid].tar file delete -force /tmp/directoryCopy.[pid].tar cd $pwd
Error in startup script: can't find package tar while executing "package require tar" (file "package.tcl" line 6)
could you pls help me debug the reason for the error?
thanks karuna
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: package require tar
by holli (Abbot) on Nov 29, 2009 at 09:57 UTC | |
|
Re: package require tar
by angiehope (Pilgrim) on Nov 29, 2009 at 10:07 UTC |