in reply to Variables in system calls
You might consider:
that way you don't have to count backslashes and don't need a backslash in front of the '$'. - tye (but my friends call me "Tye")my $share= '//'.$server.'/c$'; $share =~ tr#/#\\#; system( "net use j: $share ..." );
|
|---|