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

Re: Split loop error with perl 5.8

by grinder (Bishop)
on Oct 17, 2002 at 13:23 UTC ( [id://206012]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! /usr/bin/perl -w
    
    ...
    
    print join( '-', split(/[\s,]+/, $x1)), "\n";  
    print join( '-', split(/[\s,]+/, $x2)), "\n";
    
  2. or download this
    aaa-bbb-cc
    aa-bb-cc
    
  3. or download this
    % perl -v
    
    This is perl, v5.8.0 built for i386-freebsd-64int
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-19 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found