Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: what is this error means Use of uninitialized value $. in concatenation (.) or string

by Corion (Patriarch)
on Feb 07, 2016 at 09:44 UTC ( [id://1154599]=note: print w/replies, xml ) Need Help??


in reply to what is this error means Use of uninitialized value $. in concatenation (.) or string

$. is a variable in Perl. See perlvar.

You are interpolating this variable in the string $.ajax(.... I recommend putting Javascript in a separate file and reading it from Perl, or alternatively using a non-interpolating here-document:

print <<'EOF'; This costs many $$$ EOF
  • Comment on Re: what is this error means Use of uninitialized value $. in concatenation (.) or string
  • Select or Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-20 02:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found