Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Stupid question

StPatrickStPatrick Member Posts: 76
How to escape a string to pass it as a parameter in Perl? For example:
I have a string "Hello & goodbye" and I want to pass it as a parameter to another script. So what to do in perl?
[code]
???
print "";
???
[/code]

[b][italic]Philip Patrick[/italic][/b]
[b]Home page[/b]: http://www.saintopatrick.com
[size=1][italic]"Two beer or not two beer?"[/italic] [b]Shakesbeer[/b][/size]

Comments

  • StPatrickStPatrick Member Posts: 76
    well, found it.

    [b][italic]Philip Patrick[/italic][/b]
    [b]Home page[/b]: http://www.saintopatrick.com
    [size=1][italic]"Two beer or not two beer?"[/italic] [b]Shakesbeer[/b][/size]

  • Chris BrownChris Brown USAMember Posts: 4,496 ✭✭

    ____ ( http://forcoder.org ) free ebooks and video tutorials about \ Scratch Ruby C# R Swift C Visual Basic Go JavaScript C++ Objective-C Visual Basic .NET PHP Python PL/SQL MATLAB Assembly Delphi Java Perl FoxPro Transact-SQL Prolog VBScript Erlang Awk Apex Alice Scala Rust Ada Bash Lisp Kotlin Hack Dart Crystal SAS F# D Lua ABAP LabVIEW Clojure Logo Julia Fortran Scheme ML COBOL \ ___________

Sign In or Register to comment.