Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Why do you need to escape a string used as a paramater?

by Dietz (Curate)
on May 24, 2005 at 05:26 UTC ( #459809=note: print w/replies, xml ) Need Help??


in reply to Why do you need to escape a string used as a paramater?

You are passing a reference to tell the constructor to read from its referent.
If you omit the backslash the constructor thinks you want to pass a filehandle or a filename and this will not work for you most likeley because you don't have a filehandle or filename named $intr_html.

'perldoc HTML::TokeParser' tells you more ;-)
  • Comment on Re: Why do you need to escape a string used as a paramater?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://459809]
help
Chatterbox?
[LanX]: I told you the story about the “new" currency trading system of Dresdner Bank
[LanX]: ?
[Corion]: No, or I don't remember the story ;)
LanX my favourite don't tell me the proof of concept is good enough for production anecdote

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2017-03-29 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (348 votes). Check out past polls.