George Gallen on 27 Sep 2006 19:26:59 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

RE: [PLUG] RE: web/perl issue?


> $qtest = << "EOT";
> <div id='qtest'>
> <button>this is a button test</button><br>    <-- line 56
> <button>another button test</button>
> </div>
> EOT

OK, after checking my perl book, which I thought was at home,
Seems the EOT needs to be quoted. I did have the "<<" just 
wasn't included in the cut/paste.

George

> -----Original Message-----
> From: plug-bounces@lists.phillylinux.org
> [mailto:plug-bounces@lists.phillylinux.org]On Behalf Of George Gallen
> Sent: Wednesday, September 27, 2006 3:22 PM
> To: Philadelphia Linux User's Group Discussion List
> Subject: RE: [PLUG] RE: web/perl issue?
> 
> 
> Bareword found where operator expected at askticketdisc.cgi 
> line 57, near "<butt
> on>another button test</button"
>   (Might be a runaway multi-line // string starting on line 56)
>         (Missing operator before button?)
> Semicolon seems to be missing at askticketdisc.cgi line 58.
> syntax error at askticketdisc.cgi line 56, near "button>"  
> 
> $qtest = EOT;
> <div id='qtest'>
> <button>this is a button test</button><br>    <-- line 56
> <button>another button test</button>
> </div>
> EOT
> 
> 
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug