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

Re: (3) Cannot copy from netowrk drive

by AcidHawk (Vicar)
on Jun 12, 2003 at 06:47 UTC ( [id://265289]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Cannot copy from netowrk drive
in thread Cannot copy from network drive

    If the file has pipes as a delimeter. Do I need to split the line wih pipes?

You are already doing this but you probably want something more like,

@var1 = split/\|/;
    Is there any way that I could pass the string to a variable then I would get the path at the end of the string

When you seperate the line with pipes "|" you put the values of the entire line in an array. All you have to do is point the path variable to the last element of the array. Something like,

$path = $var1[$#var1];
Hope this helps, I'm not sure I understood you question properly..

-----
Of all the things I've lost in my life, its my mind I miss the most.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-19 19:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found