Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: Piping many individual files into a single perl script

by broomduster (Priest)
on Sep 28, 2008 at 14:47 UTC ( #714175=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Piping many individual files into a single perl script
in thread Piping many individual files into a single perl script

I was about to post a reply with similar suggestions... Now the only new things I can add are

  • on a Mac the
    BEGIN{ @ARGV=map glob, @ARGV; }
    is definitely not required.
  • I also noticed that the OP is using #!C:\Perl as the shebang line. On a Mac this should be #!/usr/bin/perl for an Apple-supplied Perl, but will need a different path if it's a user-installed Perl (e.g., from MacPorts, or elsewhere)


Comment on Re^4: Piping many individual files into a single perl script
Select or Download Code
Re^5: Piping many individual files into a single perl script
by BrowserUk (Pope) on Sep 28, 2008 at 15:30 UTC
    I also noticed that the OP is using #!C:\Perl as the shebang line.

    I missed that++. That's a very strange choice for someone using a MAC (which doesn't have drive letters?), and wouldn't work on any *nix variant I'm aware of.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2014-07-23 08:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (137 votes), past polls