Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Splitting blunder

by swiftone (Curate)
on Apr 08, 2002 at 18:10 UTC ( [id://157501]=note: print w/replies, xml ) Need Help??


in reply to Splitting blunder

1) Are you sure you aren't having issues with escaping characters?
$string ="\\Server\user"; #WRONG! $string ='\\Server\user'; #right

2) What does @tmp look like? Try Data::Dumper. Is $string being placed in element 0, or what?

Replies are listed 'Best First'.
Re: Re: Splitting blunder
by Juerd (Abbot) on Apr 08, 2002 at 18:13 UTC

    $string ='\\Server\user'; #right

    Even with single quotes, backslash can escape delimiters and itself. $string be \Server\user.

    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://157501]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-23 16:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found