Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by broomduster (Priest)
on Sep 28, 2008 at 14:47 UTC ( [id://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)

Replies are listed 'Best First'.
Re^5: Piping many individual files into a single perl script
by BrowserUk (Patriarch) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://714175]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-23 21:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found