Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 avoiding work at the Monastery: (9)
As of 2015-07-05 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls