Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: reg-exp problem

by ady (Deacon)
on Sep 09, 2008 at 11:21 UTC ( #710042=note: print w/replies, xml ) Need Help??


in reply to reg-exp problem

#!/usr/bin/perl -w use strict; use Data::Dumper; $_ = "{Just} another, Perl*hacker."; my @rray = split /[{},*]/, $_; print Dumper( \@rray);
------------------------------------
$VAR1 = [ '', 'Just', ' another', ' Perl', 'hacker.' ];
Allan Dystrup

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2022-08-17 01:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?