in reply to How to call $PDL::BIGPDL=1?
Note that $name->$PDL::BIGPDL tries to call the method whose name is stored in $PDL::BIGPDL on the object $name, which is almost certainly not what you want; and $name = $PDL::BIGPDL = 1 will indeed set $PDL::BIGPDL to 1, but will then put that same 1 into $name, which is probably not what you want. Qualifying $BIGPDL with PDL:: already specifies the package; you don't need the help of an object to do this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to call $PDL::BIGPDL=1?
by Blue_eyed_son (Sexton) on Sep 14, 2008 at 00:17 UTC | |
by etj (Priest) on Aug 20, 2021 at 04:29 UTC |