Re: printing to file from html

2002-06-01 Thread Carl Jolley
On Sat, 1 Jun 2002, Malcolm Debono wrote: I am trying (not an expert) to write a script that will, to begin with, write the meta tags to a file from an html file. I have managed so far (after many hours) but when the tags are written in the html on seperate lines it doesn't write all of the

Re: Determining Default 'My Documents' folder path

2002-06-01 Thread Mike Kalinovich
Now, myself being a Systems administrator, I would be extremely doubtful of using the simple method of querying the registry. API calls are there for a reason. I don't know how easy the registry is to rebuild on W2K, since i haven't had to do it yet (crosses fingers), but the less playing

Re: Text::CSV and empty fields ???

2002-06-01 Thread Ron Grabowski
Michael D. Schleif wrote: When I do this: if ($csv-parse($_)) { @array = $csv-fields; } print scalar @array, \n; I get various values, because some fields in the CSV file are empty. What I want to do is get an array with empty fields, as

Re: Text::CSV and empty fields ???

2002-06-01 Thread Michael D. Schleif
Ron Grabowski wrote: Michael D. Schleif wrote: When I do this: if ($csv-parse($_)) { @array = $csv-fields; } print scalar @array, \n; I get various values, because some fields in the CSV file are empty. What I want to do is get an

Re: Determining Default 'My Documents' folder path

2002-06-01 Thread Paul Jansen
What ever gives you short code that is readable. I tend to find that I can more easily follow what a 'simple' registry read does than what the buffer initializations and stuff in an API call does. I find a simple line like: if ($hkey_connect = $Registry-Connect($node, LMachine#,