Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: A problem with using the split command

by TASdvlper (Monk)
on Apr 30, 2004 at 20:36 UTC ( [id://349514]=note: print w/replies, xml ) Need Help??


in reply to Re: A problem with using the split command
in thread A problem with using the split command

I got this working on the command line like you have in your example, and it works, but in my script it's still not working. Very strange
  • Comment on Re: Re: A problem with using the split command

Replies are listed 'Best First'.
Re: Re: Re: A problem with using the split command
by revdiablo (Prior) on Apr 30, 2004 at 21:24 UTC
    I got this working on the command line ... but in my script it's still not working

    I'm not positive, but I'd say the shell is eating one pair of backslashes. Basically, the shell sees \\\\, passes it in to perl as \\, which gets passed into the RE engine as \. Welcome to the backwhack hell that is multiple layers of interpolation. :)

    So, in summary, \\\\ on the shell should be \\ in your script.

Log In?
Username:
Password:

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

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

    No recent polls found