Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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.


Comment on Re: Scaler found where opeartor expected Error
Select or Download Code
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2014-09-16 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (48 votes), past polls