ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcl-mac
tcl-mac
Re: [MACTCL] about package require
by Lazzaro Nicoḷ Ciccolella other posts by this author
Oct 10 2005 12:42AM messages near this date
Re: [MACTCL] about package require | Re: [MACTCL] about package require
nico ha scritto:

> > | tdom is installed in /Library/Tcl/tdom0.8.0/
> > | does it mean that package require automatically search in this path?
> > | can i move tdom to another path? and which command can i use to use it
> > | from the new path?

Hi,
I dont know C,
but using tcl, you can inform your ryntime that the tdom library is in a 
non standard location with this two line:

lappend auto_path [file join [file dirname [info script]] libs tdom0.8.1]

package require tdom


In the above example the tdom library are at the same level of main tcl 
script in a directory named libs.


myscript.tcl
libs/tdom0.8.1

hope help

--
Lazzaro


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Tcl-mac mailing list
Tcl-mac@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-mac
Thread:
Nico Bats
Nico
Kevin Walzer
Nico
Lazzaro Nicoḷ Ciccolella
Philip Aker

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved