Try this:
@fo = @foo[2,5];
al
-Ursprüngliche Nachricht-
Von: Santosh M Hulkund [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 31. Juli 2001 16:02
An: [EMAIL PROTECTED]
Betreff: How do I extract 2 elements
Hi,
I am new to perl, this is question is very silly and stupid. S
What do you mean by "How can we disable the hyperlink?"
al
-Ursprüngliche Nachricht-
Von: Rahul Garg [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 31. Juli 2001 15:24
An: [EMAIL PROTECTED]
Betreff: simple
Hello,
How can we disable the hyperlink?
Waiting for Reply,
Thanx in advance,
R
Well, uh, I didn't realise that it was basicly my fault.
I searched for something like this m/(\s\w+\s)/g in a string like "This is a
test". Of course only " is " is found, although the g flag is set. The RegEx
scans the string an finds " is ".
When Perl continues to scan for the RegEx, I think it
Making a mistake once can be exused,
making it twice is stupidity and
making the same mistake a third time only proves you have no brain ;-)
Sorry, I figured out where the problem is...
al
-Ursprüngliche Nachricht-
Von: Alessandro Lenzen [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 27
Hello folks!
I'm reading Jos Boumans "Perl Beginners Tutorial To Regular Expressions".
I'm stuck with a problem. Jos writes:
Also realise that $1 and friends store the contents of the last succesfull
match...
I wanted to check that and wrote this code:
#!/usr/bi
Hello Jon,
here a modified script that actually works:
#!/usr/bin/perl -w
use CGI qw( :standard );
open(LOGFILE, "logfile.txt") or die "Can't open logfile: $!\n";
while ($temp=)
{
$link = $temp
}
print header;
print "test";
print "$link";
print "";
Since I'm working at the moment I didn't ha
I think your header is spelled wrong, try
print "Content-Type: text/html \n\n";
^there is the bugger!
But why would you want to print the header manually when using CGI.pm?
al
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]