Hi. I am using;
`gzip -c file.html > file.tar.gz`;
at the moment, to create a tar.gz file by a script.
That's not a .tar.gz file. That's a .gz file. These can only contain one file.
If you want to make a .tar.gz file, you can create a .tar file, which may containe multiple files, and gzip...
The module Text::Wrap might help.
You can do it in plain perl too, but I'm a bit too lazy right now to try and make it work reliably. If you insist, attempt something along the lines of
s/(.{1,64})(\s|$)/$1\n/g;
I run like a game site and I want the user data to back up each day. Most of the data is like this: Each players has a directory named after their email address and inside there's all the game data such as username, password, etc. Is there any good back-ups script that you could back up these...
<form action="explore.cgi?&mode=visit" method="POST">
You're mixing two methods of passing parameters to a CGI script: GET and POST. Don't. Put the mode into a hidden variable.
<form action="explore.cgi" method="POST">
<input type=hidden name=mode...
Sleuth wrote:
So are there any Perl2Exe Success stories?
Yes. Even using only the evaluation version(s).
You are using a web server, aren't you? Otherwise, it won't ever work. Try MicroWeb, from the same web site. First, perl2exe your script. See that it compiles properly, by trying to...
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.