New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request a new feature. Chroot packages [new pkgroot operator?]. #14463
Comments
From qd1qupwe.hs2@20minutemail.com Hello. Current state: our $conf = {x => 1}; # result # pkgroot example1 ; simple way # result # pkgroot example2 ; advanced way with local operator # result So, first questioin: Is that possible to implement that? Excuse me if there is a wrong place to request features. Please point me where I can find true perl-hackers. Thank You. |
From @tonycozOn Mon Feb 02 00:13:59 2015, qd1qupwe.hs2@20minutemail.com wrote:
Have you looked at the Safe module? NAME However, note the warning: WARNING Tony |
The RT System itself - Status changed from 'new' to 'open' |
From qd1qupwe.hs2@20minutemail.comOn Mon Feb 02 14:38:35 2015, tonyc wrote:
Hello. #!perl package ASD; use Data::Dumper; our $X = {x => 1}; { print ASD::x(),"\n"; # result $VAR1 = { $VAR1 = undef; aaa I.E. print Dumper( ${main::X} ),"\n"; print $VAR1 = undef; But if I comment `package ASD' string at beginning of script than all is ok. Nevertheless, over Your reply I found reply to my question: yes, it is possible to implement that. Can You implement pkgroot operator with just one small functionality? Operator masks and other functionality let implement Safe module or any (Opmask, for example). Thank You. |
From qd1qupwe.hs2@20minutemail.comOn Mon Feb 02 19:24:44 2015, qd1qupwe.hs2@20minutemail.com wrote:
May be next code snippet can be good start point. In next code expr `local *PKG:: = *main::SandBox::' work like pkgroot operator but only for PKG:: and all PKG:: subpackages. But it seems there is no way to implement same strategy for all packages (incuding main::). May be no need in new operator, just extend `local' operator? our $conf = {x => 1}; { main::SandBox::test(); print %$main::SandBox::conf,"\n"; |
From [Unknown Contact. See original ticket]On Mon Feb 02 19:24:44 2015, qd1qupwe.hs2@20minutemail.com wrote:
May be next code snippet can be good start point. In next code expr `local *PKG:: = *main::SandBox::' work like pkgroot operator but only for PKG:: and all PKG:: subpackages. But it seems there is no way to implement same strategy for all packages (incuding main::). May be no need in new operator, just extend `local' operator? our $conf = {x => 1}; { main::SandBox::test(); print %$main::SandBox::conf,"\n"; |
From qd1qupwe.hs2@20minutemail.comOn Mon Feb 02 23:27:28 2015, qd1qupwe.hs2@20minutemail.com wrote:
Hello. I'm sorry for noise, but I must public my end offering. ---> But note that I prefer bitcoin to make reward for your work. I hope someone can help perl to be a bit better. |
From [Unknown Contact. See original ticket]On Mon Feb 02 23:27:28 2015, qd1qupwe.hs2@20minutemail.com wrote:
Hello. I'm sorry for noise, but I must public my end offering. ---> But note that I prefer bitcoin to make reward for your work. I hope someone can help perl to be a bit better. |
From @davidnicolOn Wed, Feb 4, 2015 at 10:28 AM, John Doe via RT <perlbug-comment@perl.org>
Have you looked at the "forks" module? It may suit your purposes to fork a |
From qd1qupwe.hs2@20minutemail.comOn Wed Feb 04 09:51:09 2015, davidnicol@gmail.com wrote:
Hello. |
Migrated from rt.perl.org#123714 (status was 'open')
Searchable as RT123714$
The text was updated successfully, but these errors were encountered: