Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^3: Wrong + Right = Even Worse (do)

by tye (Sage)
on Apr 04, 2014 at 13:45 UTC ( #1081141=note: print w/replies, xml ) Need Help??

in reply to Re^2: Wrong + Right = Even Worse (do)
in thread Wrong + Right = Even Worse

Most of them define subs and initialize global variables, so do wouldn't be much better

The problem you reported was that one module was including non-modules in order to get those subroutines defined in its package and that broke other places that still wanted those subs defined in their package (main).

do would fix the problem you reported.

- tye        

Replies are listed 'Best First'.
Re^4: Wrong + Right = Even Worse (do)
by choroba (Bishop) on Apr 04, 2014 at 14:58 UTC
    do runs the file always, but it does update %INC if it finds it. Therefore, it might not solve the problem.
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1081141]
[choroba]: https://metacpan. org/author/ SIMBABQUE might know. He's a heavy Ingress player.
[Corion]: choroba: Yeah, I know :) I might ask him at the GPW :))
hippo giggles at the thought of people "playing" Ingres
[Corion]: The data is the game ;)
[marto]: good morning all
[hippo]: Great slogan :)
[Corion]: Hi marto ;)

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2018-03-19 09:18 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (236 votes). Check out past polls.