Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: embedding a scalar into a string without space after the scalar

by fullermd (Priest)
on Jan 20, 2011 at 01:41 UTC ( #883228=note: print w/replies, xml ) Need Help??


in reply to embedding a scalar into a string without space after the scalar

As a side matter (and avoiding the issue, for bonus points) I've generally found that putting the trailing slashes on dir variables makes my life harder and my code uglier, so I'd skip that anyway.

my $tmp='./tmp'; my @zips =("$tmp/file1.zip","$tmp/file2.zip");
  • Comment on Re: embedding a scalar into a string without space after the scalar
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://883228]
help
Chatterbox?
and all is calm...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2017-11-18 05:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?