hi guys,
the problem i have is this.
i am running the UK Adhesions Society Website being non profit and with
little funding our present server is capable of
* perl/cgi
* ssi
* html/shtml
and we cant afford to upgrade the server at present.
the site is about t
--- Gerry Jones <[EMAIL PROTECTED]> wrote:
> I want to create a menu/navigational section for a website I plan on
> building, and I would like to know if there are any easy-to-use modules I
> could use, or if there's another way. My website will have many levels and I
> don't fancy copying, pas
On Wed, 12 Dec 2001, Brett W. McCoy wrote:
> > I have a pain in the butt array that SOMETIMES has a CR at the end and
> > sometimes does not. Can anyone think of a way to test to see if the \n is
> > there and if it is then chop else no chop? Cause if I just use chop then it
> > starts chopping
On Wed, 12 Dec 2001, Andre` Niel Cameron wrote:
> I have a pain in the butt array that SOMETIMES has a CR at the end and
> sometimes does not. Can anyone think of a way to test to see if the \n is
> there and if it is then chop else no chop? Cause if I just use chop then it
> starts chopping off
I need to be more carefull what I ask for:) Thanks for the 13 responses:)
I had acctually never heard of Chomp but I will give it a shot thanx all!
Regards,
Andre` C.
Technical Support
ԿԬ
-
Visit our support manual at h
Thanks for the tips guys.
Francesco: where in the book did you find the code you adapted? I've got the
book (I had a look before posting), but short of scanning every page, I
couldn't find it.
Brett: I now know next to nothing about
SSI's, which is more than I knew before reading your post.
On Dec 12, Andre` Niel Cameron said:
>I have a pain in the butt array that SOMETIMES has a CR at the end and
>sometimes does not. Can anyone think of a way to test to see if the \n is
>there and if it is then chop else no chop? Cause if I just use chop then it
>starts chopping off letters somet
I think using chomp instead of chop should do it... there should be no need for
test.
Philippe Soares
Andre` Niel Cameron a écrit :
> Hi,
>
> I have a pain in the butt array that SOMETIMES has a CR at the end and
> sometimes does not. Can anyone think of a way to test to see if the \n is
> the
Ok, if you just want to get rid of a trailing space, use chomp() function
instread of chop(). Coz chop() trims the the last character, and chomp()
trims the record seperator ( $/ ) which is by default a new line that
keeps giving you pain :-)
Andre` Niel Cameron wrote:
ANC: Date: Wed, 12
Use chomp(), which is just like chop() but will only remove the
character if it's equal to the $/ variable (which is \n by default).
Ernie Hershey
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf
> Of Andre` Niel Cameron
> Sent: Wednesday, Dec
On Wednesday 12 December 2001 16:22, Andre` Niel Cameron wrote:
> Hi,
>
> I have a pain in the butt array that SOMETIMES has a CR at the end and
> sometimes does not. Can anyone think of a way to test to see if the \n is
> there and if it is then chop else no chop? Cause if I just use chop then
On Wed, 12 Dec 2001, Andre` Niel Cameron wrote:
> I have a pain in the butt array that SOMETIMES has a CR at the end and
> sometimes does not. Can anyone think of a way to test to see if the \n is
> there and if it is then chop else no chop? Cause if I just use chop then it
> starts chopping of
Hi,
I have a pain in the butt array that SOMETIMES has a CR at the end and
sometimes does not. Can anyone think of a way to test to see if the \n is
there and if it is then chop else no chop? Cause if I just use chop then it
starts chopping off letters sometimes...
Regards,
Andre` C.
Technical
At 03:05 PM 12/12/01 +, Gerry Jones wrote:
>I want to create a menu/navigational section for a website I plan on
>building, and I would like to know if there are any easy-to-use modules I
>could use, or if there's another way.
I wrote a web basing content management tool to do this called SIM
If you look at O'Reilly's cgi programming with perl book there is a
mechanism there which can be modified to do exactly what you want.
The following was adapted from it :
# initialise subject listings one section per subdirectory under
# ../data
opendir ( DIR, "../data" ) or die "Cannot open s
On Wed, 12 Dec 2001, Gerry Jones wrote:
> I want to create a menu/navigational section for a website I plan on
> building, and I would like to know if there are any easy-to-use modules I
> could use, or if there's another way. My website will have many levels and I
> don't fancy copying, pasting
I want to create a menu/navigational section for a website I plan on
building, and I would like to know if there are any easy-to-use modules I
could use, or if there's another way. My website will have many levels and I
don't fancy copying, pasting and tweaking the HTML to get the menu to look
Hi,
I'm trying to compile a script that is using gd.pm.
But it seems that this library is not installed in my activestate version
(5.6.1.629).
Is there a way for me to use this script with this version of activestate or
use another library?
Thanks in advance,
Wagner
--
To unsubscribe, e
> I' d like to know if it' s possible to print the number
> of occurences of letter "o" inside a variable string,
> using perl function map.
$qty = $string =~ tr/o/o/;
Shortest and seemingly the fastest solution.
Jonathan Paton
__
Do You Yaho
Hi to All,
I' d like to know if it' s possible to print the number of occurences of
letter "o" inside a variable string,
using perl function map.
This is my code:
use CGI;
$var = "Good morning";
$num = map {"o"} $var;
print qq'
Perl Page
';
print "The number of elements found is: $num";
print
hi.
look at it...
www.summersault.com/software/db_browser/
be successful.
Best regards. Nafiseh Saberi
www.iraninfocenter.net
www.sorna.net
Friend in need is a friend indeed.
_
> hi
>
> anyone have simple web
hi
anyone have simple web browser script (of course with
perl) like lynix ?
thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
22 matches
Mail list logo