Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: help regarding command line arguments

by rnewsham (Curate)
on Nov 18, 2014 at 12:30 UTC ( #1107562=note: print w/replies, xml ) Need Help??


in reply to help regarding command line arguments

Probably the simplest way would be to just replace the string \n with an actual \n.

use strict; use warnings; for ( @ARGV ) { s/\\n/\n/g; } my $string1=$ARGV[0]; my $string2=$ARGV[1]; print $string1 ; print $string2 ;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2020-11-26 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?