Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Has anyone seen perl losing arguments?

by ikegami (Pope)
on Sep 28, 2011 at 20:17 UTC ( #928409=note: print w/ replies, xml ) Need Help??

in reply to Has anyone seen perl losing arguments?

Your file association is broken. Specifically, the "%*" is missing in your association.

>assoc .pl .pl=Perl >ftype Perl Perl="C:\...\bin\perl.exe" "%1" %*

Either fix the association using ftype, or don't rely on the extension.

system("perl \"$now_string\"");

Comment on Re: Has anyone seen perl losing arguments?
Select or Download Code
Replies are listed 'Best First'.
Re^2: Has anyone seen perl losing arguments?
by ted.byers (Scribe) on Sep 29, 2011 at 18:12 UTC

    No, the file association is OK. Files with a pl extension are associated with perl. Execution of my driver scripts relies on that.

      What does one have to do with the other?

      What's the output of

      >assoc .pl .pl=Perl ---- \ \ | v ---- >ftype Perl ???

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2015-10-04 11:06 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (101 votes), past polls