Forum: Perl 1 Day Ago |
| Replies: 4 Views: 111 |
Forum: Perl 1 Day Ago |
| Replies: 2 Views: 78 Re: Perl threads Sorry, I have no experience using threads. If you get no further replies here ask on www.perlmonks.com |
Forum: Perl 2 Days Ago |
| Replies: 4 Views: 111 Re: Convert decimal to notated hex "pack" and "unpack" have lots of templates used for this type of conversion of one thing into another thing. I don't know if they can do what you want, but that is a starting place anyway. |
Forum: Perl 3 Days Ago |
| Replies: 7 Views: 340 Re: PERL or PHP Fran123,
Now you're just being obnoxious. I assume you will now be banned and I won't miss you. Too bad you couldn't just come here to try and help people instead of putting in a plug for your... |
Forum: Perl 3 Days Ago |
| Replies: 7 Views: 340 Re: PERL or PHP There are those people, but they are on all perl forums, not just this one. I post on about 10 perl forums, but only three or four are very active, the rest are like this one, an occasional question.... |
Forum: Perl 3 Days Ago |
| Replies: 7 Views: 340 Re: PERL or PHP Some people on this forum are like that, but I am not a student nor am I from a second-world country, although it is debateable since the USA is going down the tubes pretty fast. |
Forum: Perl 7 Days Ago |
| Replies: 3 Views: 198 |
Forum: Perl 10 Days Ago |
| Replies: 13 Views: 433 Re: What regular expression should be written? Personally I think the OP has been given more than enough information to figure this out, all they have to do is try some of the suggestions and mess around a bit with some code to fine tune it to... |
Forum: Perl 11 Days Ago |
| Replies: 13 Views: 433 |
Forum: Perl 12 Days Ago |
| Replies: 13 Views: 433 |
Forum: Perl 13 Days Ago |
| Replies: 13 Views: 433 |
Forum: Perl 15 Days Ago |
| Replies: 3 Views: 296 |
Forum: Perl 16 Days Ago |
| Replies: 3 Views: 296 Re: Regex matches all but specific word? I would read the file line by line instead of trying to make a single regexp that tries to do too much.
while(<>){
if (/^([a-zA-Z]{0,2}\d+)/) {
my $id = $1;
# now get the... |
Forum: Perl 17 Days Ago |
| Replies: 3 Views: 243 |
Forum: Perl 18 Days Ago |
| Replies: 4 Views: 241 |
Forum: Perl 22 Days Ago |
| Replies: 1 Views: 235 Re: No Email::Valid on Mac? You install the module or use the lib pragma to run the module from @INC without actually installing it.
I don't know how you install modules on a MAC, maybe you use the CPAN shell. You can read the... |
Forum: Perl 24 Days Ago |
| Replies: 2 Views: 3,542 |
Forum: Perl 25 Days Ago |
| Replies: 1 Views: 257 Re: Subroutine Access Well, if you mean the action attribute of the form tag, thats not the way to go about it. One way is to include a hidden form field with the name of the subroutine you want to run:
<input... |
Forum: Perl 26 Days Ago |
| Replies: 14 Views: 549 Re: What's wrong with this perl error Why scripts work on one server and not another is difficult to impossible know why unless you know everything about what software is installed, what operating system the server uses, and etc.
But... |
Forum: Perl 26 Days Ago |
| Replies: 14 Views: 549 Re: What's wrong with this perl error Try removing the -nph option and see if that clears up the problem. If you don't know what the -nph option does, chances are you don't need to use it. |
Forum: Perl 27 Days Ago |
| Replies: 14 Views: 549 |
Forum: Perl 27 Days Ago |
| Replies: 14 Views: 549 |
Forum: Perl 27 Days Ago |
| Replies: 14 Views: 549 Re: What's wrong with this perl error Well, you have this line in the code you posted:
my $dbh = DBI->connect("dbi:mysql:db_hhh:localhost", "hhh", "123456",{RaiseError=>1, AutoCommit=>1, ShowErrorStatement=>1}) or print "failed to... |
Forum: Perl 27 Days Ago |
| Replies: 14 Views: 549 Re: What's wrong with this perl error make sure to upload the perl script in ASCII text mode (see you ftp applications help files if necessary) and that the permissions are set if necessary, normally a perl script is chmod 755, you can... |
Forum: Perl 28 Days Ago |
| Replies: 14 Views: 549 |
Forum: Perl 29 Days Ago |
| Replies: 14 Views: 551 Re: Proper Setup? Yes you can. It does not matter if the page is static or dynamic.
if (some condition) {
do_this()
}
You can also make a hash table where the values of the hash keys are references to... |
Forum: Perl 31 Days Ago |
| Replies: 14 Views: 551 Re: Proper Setup? Ask for references, read comments from previous customers, have their work reviewed by a third party. It would still be possible to be fooled but many of the hire-a-programmer sites do a good job of... |
Forum: Perl 31 Days Ago |
| Replies: 7 Views: 785 |
Forum: Perl 31 Days Ago |
| Replies: 14 Views: 551 Re: Proper Setup? You should use one script to handle the entire process. But, writing CGI scripts is not a good idea for a person that seems to not have any experience and probably does not understand even the basics... |
Forum: Perl 31 Days Ago |
| Replies: 7 Views: 785 |
Forum: Perl 32 Days Ago |
| Replies: 7 Views: 785 |
Forum: Perl Jul 22nd, 2008 |
| Replies: 3 Views: 379 |
Forum: Legacy and Other Languages Jul 20th, 2008 |
| Replies: 4 Views: 526 Re: Perl to Python I'm pretty sure its matlab, of which I know nothing. So I suggest you find a matlab forum or mailing list. |
Forum: Legacy and Other Languages Jul 20th, 2008 |
| Replies: 4 Views: 526 Re: Perl to Python the code you posted is not perl, I am not sure after reading your post if you know that or not. |
Forum: Perl Jul 16th, 2008 |
| Replies: 5 Views: 570 Re: problem Actually it is very simple, you can use the Tie::File module to read/write to the same file or perls inplace editor, which would be my choice since it is way more effcient than Tie::File, but... |
Forum: Perl Jul 11th, 2008 |
| Replies: 10 Views: 872 Re: Crypt::Blowfish / Crypt::CBC I'm sorry but I can not help with issues of running or installing strawberryperl. I have installed it on a couple of of Windows PCs (XP and 2000) and it ran fine for me.
Maybe one of the resources... |
Forum: Perl Jul 10th, 2008 |
| Replies: 3 Views: 612 Re: Form processing problem replace these lines:
#create page
print <<endHtml;
replace with:
#create page
print header;
print <<endHtml; |
Forum: Perl Jul 9th, 2008 |
| Replies: 5 Views: 570 Re: problem did you give up on the other perl forum?
http://bytes.com/forum/thread819194.html |
Forum: Perl Jul 9th, 2008 |
| Replies: 10 Views: 872 Re: Crypt::Blowfish / Crypt::CBC This is a more drastic option, you can try www.strawberryperl.com which is a windows port of perl that uses the standard CPAN interface. |
Forum: Perl Jul 9th, 2008 |
| Replies: 10 Views: 872 Re: Crypt::Blowfish / Crypt::CBC You can add repositories but there are a lot of modules that have never been ported to PPM. You can download modules and put them in a folder of your choice and use the lib pragma to include the... |