<div dir="ltr"><div>i need to wake up.<br></div><div><br></div><div>just changing a scaler variable with a space to empty.</div><div><br></div><div>Thank you!</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Apr 17, 2014 at 3:46 PM, Jay Hannah <span dir="ltr"><<a href="mailto:jay@jays.net" target="_blank">jay@jays.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Apr 17, 2014, at 3:38 PM, Britt Gray <<a href="mailto:britt.c.gray@gmail.com">britt.c.gray@gmail.com</a>> wrote:<br>
> I have lost my mind and can’t figure out what the following line of code does.<br>
><br>
> It is removing something from $adj.<br>
><br>
> $adj =~ s/^ $//;<br>
<br>
If $adj is ' ' then it will become ''.<br>
<br>
^ means "starts with"<br>
$ means "end with"<br>
<br>
HTH,<br>
<br>
j<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Omaha-pm mailing list<br>
<a href="mailto:Omaha-pm@pm.org">Omaha-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/omaha-pm" target="_blank">http://mail.pm.org/mailman/listinfo/omaha-pm</a><br>
</blockquote></div><br></div>