[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Can a Lua module find out whether it is being required or dofiled?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 23 Sep 2015 11:36:13 -0300
Note that you cannot tell whether a module is being required or
called after loadfile, because you can pass anything in the call:
args m ./m.lua