Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Scaler found where opeartor expected Error

by muba (Priest)
on May 29, 2012 at 18:36 UTC ( #973088=note: print w/replies, xml ) Need Help??


in reply to Scaler found where opeartor expected Error

Does it say scaler found, scalar found, or string found?

Let's pick that line apart, though, and see what's happening.

push @body, # So far so good. We're gonna push something o +nto the array. "<tr><td rowspan=" # Push a string onto the array. ${\scalar, @$books} # What *IS* this, anyway? "$Author2</td>\n" # Another string ; # Done. But with what?

Not to mention the missing > in the HTML.

Replies are listed 'Best First'.
found the errror
by mipatel (Novice) on May 29, 2012 at 19:09 UTC
    i am not suppose to use double quotes around the scalar

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2016-12-11 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (169 votes). Check out past polls.