Search Results

Search: Posts Made By: new2ss
19,999
Posted By new2ss
Hi, does it mean i should do a if ($? = -1)...
Hi,
does it mean i should do a if ($? = -1) print $! ;# to output error message
else print "success"I tried the above and got something like " $! = inappropriate ioctl for device".
did i use $?...
19,999
Posted By new2ss
Verify scp return status
Hi all

below is a snippet of my perl codesystem ("scp -pq $dest_file $path");How i can i trap the return status? ie if the scp fails how can i know ?
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy