Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Handling multiple output files simultaneously using arrays of filehandles and filenames

by betmatt (Scribe)
on Jan 21, 2021 at 21:19 UTC ( [id://11127239]=note: print w/replies, xml ) Need Help??


in reply to Handling multiple output files simultaneously using arrays of filehandles and filenames

Hi, Nice to be called Monkees rather than Monks, :)

There maybe are variables in your code that you haven't yet specified. I know that you probably have deleted them prior to posting, however it is better to indicate that. Hence the "Have you tested the code to get an error message" comment. As things stand it looks like you've written this out without testing the code, because of the absence of variable contents.
  • Comment on Re: Handling multiple output files simultaneously using arrays of filehandles and filenames

Replies are listed 'Best First'.
Re^2: Handling multiple output files simultaneously using arrays of filehandles and filenames
by xiaoyafeng (Deacon) on Jan 22, 2021 at 00:38 UTC
    Sorry for asking a question out of the topic, As English is not my native language, I don't understand why Monkees are better than Monks, it sounds like monkeys? google told me Monkees is a popular band, But I still confused. Please enlighten me. ;)




    I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

      The name 'Perlmonks' is a portmanteau word that combines 'Perl' with 'monks'; monks are religious followers who live together in a monastery. Thus, members of this website sometimes refer to each other as monks -- a description that is more metaphorical and less literal.

      In English, the ending 'y', 'ie' or 'ee' (all homonyms) are added to the end of nouns to make them cuter, and may also refer to a smaller version of the original. Thus, you might have a dog (perhaps full-grown), and also a doggy (perhaps a younger dog). They could also be described as a pup and a puppy (this isn't such a good example -- pup usually means a young dog in any case).

      Taking those two paragraphs as a starting point, from 'monk' you could get 'monkee', which might mean a younger monk, or a cute name for the regulars of this community.

      You're right that Google told you The Monkees were a pop band back in the 60's and 70's -- this is a typical American mis-spelling to catch the eye, and is also a play on the band that they were copying, The Beatles (see: beetles -> beatles, because they played music with a beat). Another example of an intentional mis-spelling is 'tonite', a simplification of 'tonight' that's also fewer letters, so can be made from larger letters on a sign. The English word night may be descended from the German word for the same thing, nacht, but nite is a homonym, so can be used in place of night. (OK, the British may squirm -- whatever.)

      Heh. Language is fun.

      Alex / talexb / Toronto

      Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

        use Railway::Schedule (); use List::MoreUtils qw( lastval ); my $train = lastval { $_->destination eq q{Clarksville} } Railway::Sch +edule->all_trains; $train->take;

        The cake is a lie.
        The cake is a lie.
        The cake is a lie.

        Wow! Many thanks for your detailed answer! Learning language is really a interesting process, and Perl is absolutely the most like human language in areas of computer science. Thanks!




        I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

      I took it as an odd "cute" name for monks. Some of our questioners come up with unusual greetings like that.

        Well for the record it was indeed intended to denote the Perl Monks as cute and lovely people, whilst simultaneously making a reference to The Monkees band.
Re^2: Handling multiple output files simultaneously using arrays of filehandles and filenames
by Cosmic37 (Acolyte) on Jan 21, 2021 at 21:56 UTC
    Hey hey we are the monkees... you are correct that I have deleted some code in order to remove some references that I wished to remain private; apologies if this made things less clear, I can see how that might be.

      The importance of providing a small, working example of code that exhibits your problem has already been mentioned here by pryrt (who even gave a small, working example :). Such an example (along with input data, expected and actual output, and warning/error messages) can greatly help us to help you. Again, please see Short, Self-Contained, Correct Example.

      And the process of composing an SSCCE can often lead you to understand the problem entirely on your own.


      Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-19 20:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found