In interpreted languages like Lua, PHP and Ruby, "require" is a statement that tells the interpreter to include a certain source-file at that position where the "require" statement has been placed.
Lots of famous PHP scripts including WordPress use dirname(__FILE__).'/myParent.php' instead of just 'myParent.php' when including …
php include requireI am writing some Ruby code, not Rails, and I need to handle something like this: found 1 match found 2 matches …
ruby require pluralizeI have Perl code which relies on Term::ReadKey to get the terminal width. My installation is missing this module, …
perl module requireI have a cron job that needs to include this file: require '../includes/common.php'; however, when it is …
php include cron require absolute-pathIs there a shorter way to require a file located in the same directory (as the script being executed)? require …
ruby path requireI'm writing some code for Node.js and I'm currently using JSHint to check over my code. However, when I …
node.js require jshintI'm writing a script in PHP5 that requires the code of certain files. When A file is not available for …
php error-handling try-catch require fatal-errorI had initially been using electron stable (4.x.x), and was able to use require in both my browser and …
javascript node.js electron requireI'm working on a simple nodejs electron (formerly known as atom shell) project. I'm writing it using angular 2, using the …
node.js typescript require electron systemjs