Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Single Quotes - how to avoid any escape processing?

by SteveDC (Initiate)
on Aug 25, 2019 at 18:10 UTC ( [id://11104993]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $PathOnly = "c:\Dir1\Dir2\Dir3";
    
    @SubDirs = split('\', $PathOnly);
    
  2. or download this
    @SubDirs = split('\\', $PathOnly);
    
  3. or download this
    @SubDirs = split("\\", $PathOnly);
    
  4. or download this
    my $SplitAt = "\\";
    my @SubDirs = split($SplitAt, $PathOnly);
    
  5. or download this
    my $SplitAt = "\\\\";
    my @SubDirs = split($SplitAt, $PathOnly);
    
  6. or download this
    my @SubDirs = split("\\\\", $PathOnly);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-20 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found