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

Re: using split on a string

by Daddio (Chaplain)
on May 14, 2001 at 03:21 UTC ( [id://80132]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to using split on a string

First, your split seems to be a bit off. You are asking for a "space and one character" and I think you are looking for "dot and anything else." If that is the case, try this for the split:

my ($junk, $extension) = split /\./, $pubupload;

That should get you this:

$junk = C:\Documents and Settings\Administrator\Desktop\china $extension = txt

Hope that helps...

D a d d i o

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://80132]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.