Changeset 8705 for src/Pugs/Run.hs
- Timestamp:
- 01/16/06 18:57:28 (3 years ago)
- Files:
-
- 1 modified
-
src/Pugs/Run.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Run.hs
r8207 r8705 158 158 , genSym "$*AUTOLOAD" $ MkRef autoSV 159 159 ] ++ classes 160 -- defSVcell <- (genSym "$_" . MkRef) =<< newScalar undef 161 let env' = env 162 {- 163 { envLexical = defSVcell (envLexical env) 164 , envImplicit = Map.singleton "$_" () 165 } 166 -} 160 167 unless safeMode $ do 161 initPerl5 "" (Just . VControl $ ControlEnv env { envDebug = Nothing })168 initPerl5 "" (Just . VControl $ ControlEnv env'{ envDebug = Nothing }) 162 169 return () 163 initPreludePC env -- null in first pass170 initPreludePC env' -- null in first pass 164 171 where 165 172 hideInSafemode x = if safeMode then MkRef $ constScalar undef else x
