Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: appending file name

by kcott (Archbishop)
on Jul 17, 2013 at 10:19 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1044782]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-24 21:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found