Thanks again for the update.
But I don't really see the difference between what you wrote and what I wrote other than:
you declared the variable inside the foreach loop.
Since I declared it outside I wanted to read the data in the zipped file, then process the data with other functions.
But...
Thanks travis.
I was stuck on that page all day yesterday.
And I feel like I am getting close.
My questions are:
1) Is it possible to use Archive::zip to read a zipped file with out taking separate steps to uncpomress, parse and re-compress?
2)
I have this code:
# Read a Zip file
my...
Ok, trying to use this module to READ a zip file...
But when I use it to read the file I get a hash back describing the file.
This is fine and dandy, but I must be missing something in regards in how to just read a zipped file....
I am using activeperl so I think I am stuck using this module...
I am some what new to ruby but not new to programming.
i am using rad rails and everything seems to be working correctly.
Except when I try to get Rake to migrate:db
I get no errors but the database never updates.
I have read that this could be a database revision number issue.
But I am...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.