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 14: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?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2023-12-07 13:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (32 votes). Check out past polls.

    Notices?