Top "Module" questions

A logical subdivision of a larger, more complex system.

How can I de-install a Perl module installed via `cpan`?

I am using Perl running in user space (not installed via root) and installing modules via the command-line cpan. I …

perl module cpan
JavaScript module pattern with example

I can't find any accessible examples showing how two (or more) different modules are connected to work together. So, I'd …

javascript module
Rails /lib modules and

I am writing a custom wrapper for open_flash_chart plugin. It's placed in /lib and load it as a …

ruby-on-rails ruby class module
How to import module when module name has a '-' dash or hyphen in it?

I want to import foo-bar.py. This works: foobar = __import__("foo-bar") This does not: from "foo-bar" import * My question: Is …

python import module hyphen
How to import functions from different js file in a Vue+webpack+vue-loader project

(See end for why this is not a dupe of How do I include a JavaScript file in another JavaScript …

javascript module webpack vuejs2 vue-loader
Django Import Error: No module named apps

I just checked out a project with git. The project structure is project apps myapp settings __init__.py __init__.py …

python django module directory importerror
How to fix: fatal error: openssl/opensslv.h: No such file or directory in RedHat 7

I have RedHat Enterprise Linux Server 7, and I downloaded the linux kernel version 4.12.10 which I am trying to compile but …

module linux-kernel openssl redhat
Create module variables in Ruby

Is there any way to create a variable in a module in Ruby that would behave similar to a class …

ruby module class-variables
How do I retrieve the available commands from a module?

To know which PowerShell modules are available on a machine I use the command Get-Module -ListAvailable This returns a list …

powershell module powershell-2.0
How to deal with cyclic dependencies in Node.js

I've been working with nodejs lately and still getting to grips with the module system so apologies if this is …

node.js module require circular-dependency cyclic-dependency