Re: if statement does not work, help please

2002-07-12 Thread $Bill Luebkert
Malcolm Debono wrote: > Can someone tell me why the 'if statement' below will not work. > What I am trying to achieve is if the $pagecontent = "" then call sub > routine &no_tags. (If it is reading something in the variable $meta could > someone please explain?) > > Thanks in advance > > Malcolm

RE: if statement does not work, help please

2002-07-12 Thread Morse, Richard E.
Malcolm Debono [mailto:[EMAIL PROTECTED]] wrote: > #!C:\Perl\bin\perl > > use CGI; # Use the CGI.pm module > use strict; > use CGI qw/:standard/; > > my $q = new CGI; > my $url = param('url'); > my ($html,$meta,$lockit,$lines,$path_to_input_file,@metas,@lines); > > use LWP::Simple; > my $pagec