> I'm writing a webmin module and I'm trying to add a search function
> in right now but after I search for it and try to display the output
> it has a problem with the way the output is formatted.
>
> print "searchtest<10>"; will print searchtest<10>
> print "searchtest< gimp><10>"; will print
-- Original Message ---
From: "LI NGOK LAM" <[EMAIL PROTECTED]>
To: "Josh Corbalis" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Sent: Wed, 23 Jul 2003 02:52:16 +0800
Subject: Re: print command help
> ----- Original Message -
> Fr
I'm writing a webmin module and I'm trying to add a search function in right
now but after I search for it and try to display the output it has a problem
with the way the output is formatted.
print "searchtest<10>"; will print searchtest<10>
print "searchtest< gimp><10>"; will print searchtest< gi
I've been coding some basic programs learning perl and I'm having some
problems with the or operators. Here are a couple coding samples if anyone
knows what I'm doing wrong with this please tell me.
#!/usr/bin/perl
$gimp=;
chomp ($gimp);
if ($gimp eq "gimp" || "gimps") {
print "working";
}