Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: REGEX Non-Destructive Flag

by quester (Vicar)
on Jan 11, 2012 at 06:09 UTC ( #947293=note: print w/replies, xml ) Need Help??


in reply to Re: REGEX Non-Destructive Flag
in thread REGEX Non-Destructive Flag

Data::Dump::Streamer can do that:

use Modern::Perl; use Data::Dump::Streamer; my $x= "cr-\15, lf-\12, tab-\11, bs-\10"; say Dump $x;

prints

$VAR1 = "cr-\r, lf-\n, tab-\t, bs-\b";

or as a one-liner,

perl -MDDS -wE 'say Dump "cr-\15, lf-\12, tab-\11, bs-\10";'

Replies are listed 'Best First'.
Re^3: REGEX Non-Destructive Flag
by mmartin (Monk) on Jan 12, 2012 at 16:27 UTC
    Hey quester,

    Thanks for the reply... Yea that did it! Thanks alot.


    Thanks Again,
    Matt

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://947293]
help
Chatterbox?
thezip switches the jolokia powder with Folgers Crystals...
[Michael W]: So i can read ok from this how do i put data back inmy @Variables = ( $Map_Request_Date, $Map_Due_Date,$Map _Cutover_Date,$Map _Complete_Date,$Ma p_Approved_Date);

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2017-04-27 15:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (509 votes). Check out past polls.