Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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 a soft breeze sighs...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2018-04-19 10:06 GMT
Find Nodes?
    Voting Booth?