Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2018-12-14 13:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many stories does it take before you've heard them all?







    Results (67 votes). Check out past polls.

    Notices?