On Tue, 2 May 2000, Wagner-David wrote:

> I get the following warning:
> 
> Useless use of subtraction in void context at
> c:\currwrka\00commonperl\03aaplxxx \aapl082.pl line 119.
> 
>       when this code :
>       if ( /^[\=](.+)/ ) {
> 
>   in the following context is run(version: 5.005_003). I have tried a number
> of different things(ie ^\=(.+) ), but always end up with the above message.
> What am I doing wrong?
> 
>       I just trying to count lines of actual code verses blank lines and
> comments. Using start of line =xxxx as a flag to skip code and  start of
> line =cut to restart counting.
>

Well I don't see a hypen charcter so I can't figure out why the
subtraction error is generated but I was wondering why you are
escaping the = character in the regex. It's not necessary.

**** [EMAIL PROTECTED] <Carl Jolley>
**** All opinions are my own and not necessarily those of my employer ****



---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to