Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Splitting blunder

by Juerd (Abbot)
on Apr 08, 2002 at 18:11 UTC ( #157503=note: print w/replies, xml ) Need Help??


in reply to Splitting blunder

$string=\\Server\user;

Syntax error. Add quotes (And note that \\ will evaluate to a single backslash).

@tmp=split(/\/,$string);

Syntax error. The backslash escapes the delimiter, leaving an undelimited string.

Does anybody have any suggestions?

Try posting the code you're working with (but only relevant bits), instead of some broken examples. Learn about using the <code> tag too.

U28geW91IGNhbiBhbGwgcm90MTMgY
W5kIHBhY2soKS4gQnV0IGRvIHlvdS
ByZWNvZ25pc2UgQmFzZTY0IHdoZW4
geW91IHNlZSBpdD8gIC0tIEp1ZXJk

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2023-03-28 17:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (68 votes). Check out past polls.

    Notices?