Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

thinker


Comment on Re: Counting enumerated data in XML
Select or Download Code
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://443161]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (18)
As of 2015-07-06 20:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (83 votes), past polls