Re: trouble with writing to file

2004-03-01 Thread incognito
Thank you Bob and Owen. [Bob] > I notice you don't put an explicit path on the filename. Is it possible the > current directory is something other that what you expect it to be, and the > file is being successfully created in another location? I thought about that and so I tried an absolute path

Re: trouble with writing to file

2004-03-01 Thread incognito
Thank you for your attention, Bob. > What is your actual regex? At a minimum, you'll need /g modifier. You may > need /m and/or /s as well. May be I didn't explained my prob exactly. I don't have a problem with the regex (and yes, I have the /m /g and /s). Related to the regex, my script works fi

trouble with writing to file

2004-03-01 Thread incognito
Hello, I came to perl by J.Friedl's regex-book without any perl-experiences. I wrote a little script to scan packages and their dependencies from a book (lfs). The script works fine and I get the packages with their dependencies. Now I tried to expand that script that way, that I wanted to write