Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: schwartzian transform

by Corion (Patriarch)
on Oct 13, 2014 at 21:15 UTC ( #1103674=note: print w/replies, xml ) Need Help??

in reply to schwartzian transform

What steps have you undertaken to debug this issue?

What values does $b->[1] and $a->[1] have? How could you find this out yourself?

What does the following code output?

$_= '31,wppra00a0513'; print /.+,/;

Compare the output with

$_= '31,wppra00a0513'; print /(.+),/;

Maybe you want to read Regexp Quote-Like-Operators on how m/.../ behaves in list context.

Update: My interpretation of your input data might be off-base. Still, the debugging steps outlined above still hold.

Replies are listed 'Best First'.
Re^2: schwartzian transform
by fionbarr (Friar) on Oct 14, 2014 at 13:02 UTC
    /(.+),/ makes ALL the difference....thanks

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2023-03-31 00:01 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (74 votes). Check out past polls.