Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

RE: RE: RE: Undef on POP3 method

by young perlhopper (Scribe)
on Jul 31, 2000 at 04:56 UTC ( #25191=note: print w/replies, xml ) Need Help??


in reply to RE: RE: Undef on POP3 method
in thread Undef on POP3 method

Quick and dirty explanation of interpolation for ya:

my $this = 'hello'; my $thisvar = 'goodbye'; # prints 'hello' of course print $this; # single quotes mean no interpolation occurs, prints '$this' print '$this'; # double quotes invoke interpolation, prints 'hello' print "$this"; # perl does 'greedy' interpolation (don't know if that's the # right term) so this prints 'goodbye' print "$thisvar"; # this makes it explicit that we only want $this, so this # line prints 'hellovar' print "${this}var";
I'm sure the faq has a more detailed explanation that covers list interpolation as well...

-Mark

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2022-08-14 13:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?