Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: appending file name

by kcott (Chancellor)
on Jul 17, 2013 at 10:19 UTC ( #1044782=note: print w/replies, xml ) Need Help??


in reply to appending file name

Take a look at perlop - Comma Operator. [Note that you've created a (hidden) file: .txt]

To concatenate strings, use the join function or the '.' operator (see perlop - Additive Operators).

-- Ken

Replies are listed 'Best First'.
Re^2: appending file name
by marinersk (Priest) on Jul 17, 2013 at 16:09 UTC
    Just a note, it wouldn't be hidden on a Windows system simply because it starts with the dot; that's *nix behavior. But you probably knew that. :-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2018-07-16 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (333 votes). Check out past polls.

    Notices?