Does anybody know how to count the numbers of a specific string appearing in a file read in from input. Thanks....
672
rand_mcneely
Oct 2, 2000 2:49 am
Well, you can either use plain ole HTTP authentication or you can set up and SSL server or you could even code it yourself using cookies. It really depends on...
673
rand_mcneely
Oct 2, 2000 3:50 am
Simple:<br>$string =$ARGV[0];<br>open(IN,"<infile") or die;<br>while ($line = <IN>) {<br> while ($line =~ /$string/g) ...
674
relicuracy.geo
Oct 2, 2000 6:13 am
Thanks so much, it works!...
675
Latin_Events
Oct 2, 2000 7:17 pm
Hi. I'm as newbie as they come regarding Perl. I'd like to use it to manipulate text files of variable size. I have heard that PERL is usefull for text ...
676
rand_mcneely
Oct 2, 2000 10:06 pm
Yep, the most popular Perl interpreter is ActiveState39;s at <a href=http://www.activestate.com target=new>http://www.activestate.com</a> and Perl excels at file...
677
shyambhandari
Oct 3, 2000 12:20 pm
What is OLE HTTP, can you please told me ???<br><br>I am using Apache as web server!...
678
rand_mcneely
Oct 3, 2000 3:15 pm
Ole as in Old, not OLE... I'm just refering to using .htaccess and .htpasswd files to control access to web resources. See the Apache documentation....
679
The_Foundationer
The_Foundati...
Oct 4, 2000 10:36 pm
All Perl Interpreters are free, you can find source coed as well as binaries for many OS's at O'Reilly39;s perl site at www.perl.com you can also find many good...
680
The_Foundationer
The_Foundati...
Oct 4, 2000 10:39 pm
That's an older DB module for perl, it probably uses standard unix database structures. You're better off using DBI....
681
The_Foundationer
The_Foundati...
Oct 4, 2000 10:40 pm
secure as in how? Making a secure connection, limiting access, or closing possible hack exploits?...
682
The_Foundationer
The_Foundati...
Oct 4, 2000 10:41 pm
You can find almost any Perl Module at on CPAN.<br>www.cpan.org or www.perl.com/CPAN...
683
shyambhandari
Oct 5, 2000 1:25 pm
i want to secure my cgi scripts so that no body can hack that....
684
shyambhandari
Oct 5, 2000 1:27 pm
O' Thankx I got it. But the problem is something different, is it any way to secure CGI scripts on server, as we installed the source on the server, if we...
685
rand_mcneely
Oct 5, 2000 1:29 pm
You want to keep the source code from being available?<br><br>If so, that's simple, for most web servers such as Apache, the web server will not allow you to...
686
Rexolio
Oct 5, 2000 5:17 pm
I use the metacart shopping cart which uses cookies (I believe) and a global.asa file. My hosts server has an SSL encryption that allows me to secure my site...
687
shyambhandari
Oct 5, 2000 6:19 pm
ya we can keep the sourse secure by giving it execute permission, so that it will excecute it at any request instead displaying on the browser, but it will be ...
688
just_a_perfect_being
just_a_perfe...
Oct 6, 2000 12:38 am
Hi! I hope someone can please help me. I'm having two problems with a perl program I wrote.<br><br>1. I wrote a regular expression which got two pieces of ...
689
rand_mcneely
Oct 6, 2000 2:09 am
No, with Perl, the file will be readable by everyone who has telnet access to the server inculding the admin. You can try using perlcc and create an executable...
690
shyambhandari
Oct 6, 2000 5:53 am
1. better you put variables in curly parenthesis like ${1} then use any sign after or before that.<br><br>e.g. "<${1}><${2}>";<br><br>2. if you are...
691
boomersint
Oct 6, 2000 9:26 pm
Must live in the S.F. Bay Area and be willing to work at least 6-8 hours a day. Must be able to work on and able to modify and fix someone else's codes ... ...
692
schartj
Oct 8, 2000 11:56 am
Looks like an interesting site ;)<br>Most importantly, what the pay ?<br>Hourly or salary ?<br>Regards, Joe...
693
boomersint
Oct 8, 2000 1:15 pm
Thanks for the reply Joe.. I will EMAIL you.. BUT you are in S. CAL lol... It is ok.. if you can do the work!!<br><br>Peace, Love and Light,<br>Jeri<br><a...
694
Nekr0tek
Oct 8, 2000 5:33 pm
I am new to perl and looking for some help. I know how to open the file and read each line what i really could user is a regular expression that will macth a...
695
moose1618
Oct 10, 2000 12:47 am
I am starting into learning pearl, and I need to get a book to learn by self study, I have learned html and javascript, what do you people think would be the...
696
shyambhandari
Oct 10, 2000 5:42 am
Hi<br>Please go for Sams Techmedia Publication Learn Perl in 21 days, its good to start with Perl and after that you can go for Oreilly's Camel book for Perl...
697
wlperkins66
Oct 10, 2000 3:25 pm
As with any language, the best way to learn is by doing. Nothing beats experience for solidifying knowledge. I recomend finding a project to work on while ...
698
Rexolio
Oct 10, 2000 4:08 pm
Hello fellow Roommates!<br><br>Sorry to throw this off-subject topic, but my band is trying to win a contest to play with a some big bands at a local show. ...
699
johndporter
Oct 10, 2000 8:30 pm
Please do not. That is one of the worst Perl books ever written. Instead, try "Beginning Perl", "Picking Up Perl", "Learning Perl", or "Perl for...
700
shyambhandari
Oct 11, 2000 4:29 am
sorry, it was not my intension to suggest anything wrong but i found this book is best to start with Perl, who don't know anything about Perl. After that I ...