We don't bite newbies here... much | |
PerlMonks |
Re^7: Perl command line switchesby AnomalousMonk (Archbishop) |
on Mar 27, 2020 at 20:16 UTC ( [id://11114740]=note: print w/replies, xml ) | Need Help?? |
... i tried running the script as follow: perl create_s_t_xml.pl -v 0.1 and it ge , ... I don't understand this statement. Was there absolutely no output at all? In most cases, output statements like will output by default to STDOUT (which usually is the terminal), but this need not be the case; see select. From the code I've seen, I would expect some output to the terminal, not to a file. ... the output file should be an .XML file which i believe is in the code as "c_vents.xml" ... The code tries to open the file c_vents.xml for input and then print the contents of the file, probably to STDOUT; see above for the justification for this guess. In addition to the points made above, I would ask the following questions, some of which have already been asked by others:
Normally I would ask to see the entire script, but I'm afraid to do that because what you have shown us so far is such a terrible mess; I really don't want to start a fight with this tar-baby. Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom
|
|