module

Compiling flex modules into swf with other mxml files in ant

I have a huge project with many mxml and as files and am trying to compile them all into one working swf file using ant. However, I'm having trouble compiling main.swf correctly in ant. It doesn't seem to be pulling in the necessary modules, all of which are located in separate folders within the main src folder. It will compile with...

Drupal 6: Altering a CCK form on a page created by the menu system

Hello, I'm a drupal newbie (but experienced with PHP). I've created some functions to display pages and mapped them onto urls using menu functions. In one of these functions, I'd like to grab a form for a CCK content type, have my way with it, and spit it out onto a template. So I have a function projectadmin_create_page(), which gra...

Is there a Perl module for parsing columnar text?

Let's say I have a tab-delimited text file that contains data arranged in columns (with headers). It is possible that different columns may be "stacked" into a "worksheet"-like arrangement, i.e. there is some divider (that may or may not be known ahead of time) that allows different columns to be arranged vertically. Is there a Perl m...

Customize WebForm module in Drupal

I'm new to Drupal 6.10 CMS and PHP too. I'm creating my website with drupal and I have found a module called Webform I like it, it's pretty easy to create forms with different types of fields and file uploading. The one thing that i can't figure out is how to add Rich Text before all fields. Something like introduction to the form. This...

How do I use a Perl module from a relative location?

So lets say I have a dir called foo, and in that I have lib and bin. The scripts in bin need to stuff in lib. So naturally I do something like this: #!perl use strict; use warnings; use lib '../lib'; use Foo; # <-- comes from lib But that means I have to be in the bin dir to run the script. Surely there is a better way. What's the...

Module name scopes in routing

I have an intranet application with several modules, I want them to separate when routing. For example: http://intranet/calendar/... http://intranet/site_admin/... http://intranet/tasks/... Each of module can have many or single controller. How to write such routes? ...

Split F# modules across multiple files

Is it possible to split an F# module across files? According to the book I have it is, but the book is probably outdated (Foundations of F#) ...

What the difference between a namespace and a module in F#?

I've just started learning F# (with little prior experience with .NET) so forgive me for what is probably a very simple question: What the difference between a namespace and a module in F#? Thanks Dave Edit: Thanks for the answer Brian. That's what I wanted to know. Just a clarification: can you also open a namespace as well (similar...

How many modules are there in Spring? What are they?

just i want to know How many modules are there in Spring? What are they? ...

How do I check whether a Perl module is installed?

I'm writing a small Perl script that depends on some modules that might be available, so during the installation I would have to check if everythings there. I could just write use some::module and see if an error comes up, but a short message like "You need to install some::module" would be more helpful for endusers. I also could just ...

When to use `require`, `load` or `autoload` in Ruby?

I understand the subtle differences between require, load and autoload in Ruby, but my question is, how do you know which one to use? Other than being able to "wrap" a load in an anonymous module, require seems to be preferred. But then autoload allows you to lazy load files -- which sounds fantastic but I'm not sure practically what ...

How to cache Apaches GZIP compressed content

Apache has built in capabilities to GZIP content (HTML, JPG.. etc) Every time its done it uses slightly more CPU then it would normally. So my question, Is it possible to cache the end compressed version instead of having your machine doing it every single time. ...

Resources (resx) with Python

Do you know of any Python module for resources (resx files) manipulation? P.S.: I know I could write a custom wrapper on top of base XML processor available, I'm just checking out before going to hack my own code... ...

Why I need to re-compile vmware kernel module after a linux kernel upgrade?

After a linux kernel upgrade, my VMWare server cannot start until using vmware-config.pl to do some re-config work (including build some kernel modules). If I update my windows VMWare host with latest Windows Service Pack, I usually not need to do anything to run VMWare. Why VMWare works differently between Linux and Windows? Does this...

Flex/AS3: why I failed to listen ready event of module

follow are code snippet var depTree:IModuleInfo=ModuleManager.getModule('modules/depTree.swf'); if(!depTree.loaded){ depTree.addEventListener(ModuleEvent.ERROR, onModuleError); depTree.addEventListener(ModuleEvent.PROGRESS,onModuleProgress); depTree.addEventListener(ModuleEvent.SETUP,onModuleSetup); depTree.addEvent...

Using Python multiprocessing while importing a module via file path

I'm writing a program which imports a module using a file path, with the function imp.load_source(module_name,module_path). It seems to cause a problem when I try to pass objects from this module into a Process. An example: import multiprocessing import imp class MyProcess(multiprocessing.Process): def __init__(self,thing): ...

Mosso Python Module

Hello, Has anybody had success installing the Mosso (cloudfiles) python module? I'm trying to install it and getting the following error. python-cloudfiles-1.3.1]# python setup.py install running install running build running build_py running install_lib byte-compiling /usr/lib/python2.3/site-packages/cloudfiles/container.py to contai...

How do I include a Perl module that's in a different directory?

How do I include a Perl module that's in a different directory? It needs to be a relative path from the module that's including it. I've tried push ( @INC,"directory_path/more_path"); also push ( @INC,"directory_path\\more_path"); Thank you! ...

Installing the Structure Module with ExpressionEngine Core

I’m trying to install the Structure module with ExpressionEngine Core. I did a fresh install of everything: ExpressionEngine 1.6.7 Structure 1.2.5 (adding the empty lang.pages.php file to /language/english, per http://expressionengine.com/forums/viewthread/91290/ Followed the instructions for installing Structure at http://expressionen...

How does Python import modules from .egg files?

How can I open __init__.pyc here? >>> import stompservice <module 'stompservice' from 'C:\Python25\lib\site-packages\stompservice-0.1.0-py2.5.egg\stompservice\__init__.pyc'> All I see in C:\Python25\lib\site-packages\ is the .egg file, but where are the internal files of the package? ...