in reply to Re: Broken Write function? Does anyone have Magic fixer ability?
in thread Broken Write function? Does anyone have Magic fixer ability?

This node falls below the community's minimum standard of quality and will not be displayed.
  • Comment on Re^2: Broken Write function? Does anyone have Magic fixer ability?

Replies are listed 'Best First'.
Re^3: Broken Write function? Does anyone have Magic fixer ability?
by tobyink (Canon) on Jan 11, 2013 at 00:06 UTC

    "I still don't see the error..."

    You are opening one file handle (called "IN2") and then trying to print to another file handle (called "IN"). They are two different handles.

    Imagine that file handles are closed doors. You open one door, but try to walk through another door. Does that work? If you are in any way unsure, find a room with two doors and try it.

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
      Thanks,
      xD but its still not getting any values to the doc
Re^3: Broken Write function? Does anyone have Magic fixer ability?
by muba (Priest) on Jan 11, 2013 at 14:50 UTC

    No, naming doesn't matter at all. You just name file handles because stuff looks way cooler that way. It's got nothing to do with being able to tell one entity from another.