Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Unable to write output to file taken as input from command line

by choroba (Canon)
on Jul 24, 2014 at 13:03 UTC ( #1094909=note: print w/ replies, xml ) Need Help??


in reply to Unable to write output to file taken as input from command line

There seem to be some more than just privacy issues here.

  • What's ins?
  • You use print with a format parameter, you probably meant printf?
  • Also, DATA is not a format, it is a file handle.
  • Moreover, what do you expect open(DATA,$in) to do? $in is a filehandle opened in the previous line, do you really want to use it as a file name?
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: Unable to write output to file taken as input from command line
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1094909]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2015-07-29 23:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls