Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Tie::File is driving me crazy

by wind (Priest)
on Feb 01, 2011 at 18:37 UTC ( #885590=note: print w/replies, xml ) Need Help??

in reply to Tie::File is driving me crazy

You're running profileb() before you open the tie'd file. Simply move your function call to after the tie statement, or remove the need for a function completely.


Replies are listed 'Best First'.
Re^2: Tie::File is driving me crazy
by Dandello (Scribe) on Feb 01, 2011 at 18:53 UTC

    I did say it was painfully obvious - I've only been working on this project for 5 weeks trying to get it down to a dull roar. I'm at the point that my eyes are crossed and I'm dreaming code.

    The script posted here was just a test - the real script will be outputting a 140 mg file.

      This is the very problem one avoids by not using global vars to pass data to functions.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://885590]
and all is quiet...

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

    Results (287 votes). Check out past polls.