Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Passing DATA filehandle to a module under strict

by moritz (Cardinal)
on Jan 26, 2012 at 10:02 UTC ( #950062=note: print w/replies, xml ) Need Help??

in reply to Passing DATA filehandle to a module under strict

-file => *DATA or maybe -file => \*DATA should work.

Replies are listed 'Best First'.
Re^2: Passing DATA filehandle to a module under strict
by blindluke (Hermit) on Jan 26, 2012 at 10:35 UTC

    Enlightened Monks!

    Thank you, -file => \*DATA works fine.

    Luke Jefferson

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://950062]
[atcroft]: PriNet: Those code bits worked for me, with test hashes, but I didn't test it with more than a few simple test cases. *shrug* Had hoped it would help, at least.
[PriNet]: i think i found the problem, the "source" array that sets the individual key values isn't being cleared, it's keeping the previous values...
[atcroft]: PriNet: You might consider posting a small, self-contained snippet of that segment of your code, and see if someone else has a better idea.....
[atcroft]: PriNet: Ahhh... interesting.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2017-06-28 03:12 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (619 votes). Check out past polls.