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\"");

Replies are listed 'Best First'.
Re^2: Has anyone seen perl losing arguments?
by ted.byers (Monk) 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 drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2016-10-21 16:57 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (289 votes). Check out past polls.