ECTED]>
To: [EMAIL PROTECTED]
Subject: Re: default value for input
Date: Tue, 24 Feb 2004 13:05:09 -0600
On Tue, Feb 24, 2004 at 07:41:46PM +0100, Anthony Vanelverdinghe
([EMAIL PROTECTED]) wrote:
> Hi
>
> is it possible to give a default value to the input you're asking? I tried
&g
\n";
} else {
print "$prefix$url\n";
}
>
> >From: Kenton Brede <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: default value for input
> >Date: Tue, 24 Feb 2004 13:05:09 -0600
> >
> >On Tue, Feb 24, 2004 at 07:41:46PM +0
On Feb 24, 2004, at 1:35 PM, Anthony Vanelverdinghe wrote:
It works fine!
So it isn't possible to show this on the screen so that the user can
see it's already there and just has to complete the url??
print "Enter URL: http://";;
chomp( my $input = <> );
$input = 'http://' . $input unless m!^htt
It works fine!
So it isn't possible to show this on the screen so that the user can see
it's already there and just has to complete the url??
Thanks
Anthony
_
Je horoscoop al gelezen? http://www.msn.be/horoscoop
--
To unsubscribe,
On Feb 24, 2004, at 1:19 PM, Anthony Vanelverdinghe wrote:
Thanks!
But the problem is the following:
the user has to enter an url and now i want to put "http://"; always in
front (and show it on the screen) so that the user doesn't have to
enter this everytime.
How about:
chomp( my $input = <>
Thanks!
But the problem is the following:
the user has to enter an url and now i want to put "http://"; always in front
(and show it on the screen) so that the user doesn't have to enter this
everytime.
From: Kenton Brede <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject:
On Tue, Feb 24, 2004 at 07:41:46PM +0100, Anthony Vanelverdinghe ([EMAIL PROTECTED])
wrote:
> Hi
>
> is it possible to give a default value to the input you're asking? I tried
> the code below but this didn't work.
>
> $URL = "http://";;
> chomp ($URL = $URL.<>);
I've set up a default variable