On Sun, 16 Jan 2005 18:36:09 +0500
Sara [EMAIL PROTECTED] wrote:
I am trying to extract links along with HTML tags a href=blah from a
list, but it's not working on my XP machine with Active State Perl
5.0.6 Kindly help.
# CODE START
my @array = qq|
I just tried that on the command-line, and I'm not getting the warning
you're seeing. What version of Perl are you running?
And have you tried alternatives like
my @files = `ls`;
or using opendir/readdir?
Paul
Yesterday, David Gilden wrote:
Last question here,
#!/usr/bin/perl -wT
Snip
On Mon, 17 Jan 2005, Alexander Blüm wrote:
this is also possible _without_ any modules, except maybe strict.
# this will replace the contents of each match in @get
foreach(@array){
my @get = $_ =~ /a href=(.*?)/g;
}
What happens if the url has a doublequote followed by an angle bracket?
NAME
beginners-faq - FAQ for the beginners-cgi mailing list
1 - Administriva
1.1 - I'm not subscribed - how do I subscribe?
Send mail to [EMAIL PROTECTED]
You can also specify your subscription email address by sending email to
(assuming [EMAIL PROTECTED] is your email
Hi,
The code below works fine if run like:
using PERL version 5.00503
#!/usr/bin/perl -w
but with
#!/usr/bin/perl -wT
I am still getting error: Insecure dependency in glob while running with -T
switch
Can I turn off 'tainting' for this block
{
# turn off taint for this block only