Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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...


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2023-09-29 23:30 GMT
Find Nodes?
    Voting Booth?

    No recent polls found