Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Counting enumerated data in XML

by thinker (Parson)
on Mar 29, 2005 at 15:56 UTC ( #443161=note: print w/replies, xml ) Need Help??

in reply to Counting enumerated data in XML

It's difficult to guess what you are intending to do, but I am sure you don't intend using the assignment operator  if($da = fa)instead of the comparison operator  if($da eq "fa")

I hope this begins to help you


Replies are listed 'Best First'.
Re^2: Counting enumerated data in XML
by ikegami (Pope) on Mar 29, 2005 at 15:58 UTC
    When comparing strings, one needs to use 'eq', not '=='.

      whoops, sorry :-)

      I'll correct that

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://443161]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2017-06-27 04:28 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (598 votes). Check out past polls.