[TriLUG] rusty perl question

William Sutton william at trilug.org
Wed May 9 12:05:12 EDT 2007


ehm...the subject line said perl, so that's what I'd guess the language 
is, but I could be completely off base...

-- 
William Sutton


On Wed, 9 May 2007, Warren Myers wrote:

> in which langauge?
> 
> in php (my preferred) it's pretty straightforward
>    if("==============" == $line){
>       do_something();
>    }
> 
> 
> WMM
> 
> On 5/9/07, Greg Brown <gwbrown1 at gmail.com> wrote:
> >
> > I'd like to match this line as a trigger:
> >
> > ==============
> >
> > that is all that is on the line.
> >
> > I'm so rusty even this basic pattern match is thwarting me.  I'm
> > embarrased
> > to ask but what is the syntax for:
> >
> > if $line equals that line I listed above {
> >
> >                do this and that;
> >
> > }
> >
> > :(
> > --
> > TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> > TriLUG Organizational FAQ  : http://trilug.org/faq/
> > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> >
> 
> 
> 
> 



More information about the TriLUG mailing list